Im using regex to pull an image url from a site and would like my site to display the image from that url.
Anyone have an idea on how to do this since setting the image url to the response url isn't working?
Regex imgLinkReg = new Regex(
"name\\=\\\"poster\\\".*src\\=\\\"http\\:\\/\\/ia\\.media-imd" + "b\\.com\\/images\\/(.*?)\\\"",
Match m1 = imgLinkReg.Match(responseFromServer);
moviePicture.ImageUrl = "http://ia.media-imdb.com/images/" + m1.Groups;
--The Regex code was created using expresso and i have been able to put the right url to a label as a test. The imagebox (not a standalone box) starts out with a blank target url.
--I'm getting the impression that it needs to have the image reload after grabbing the correct url but I don't wish to reload the page to do it. Im thinking that i might want to use ajax but I'm hoping there is a simpler way to accomplish such a mundane task
by __avd: Added [code] tags. Encase your code in: [code] and [/code] tags.