not a very good method.. just for your reference.. hope it helps.
try
{
imgLogo.ImageUrl = this.estate.Logo;
client = new WebClient();
Stream rsp = client.OpenRead(imgLogo.ImageUrl);
System.Drawing.Image img = System.Drawing.Image.FromStream(rsp);
// image is available
}
catch (WebException exp)
{
// image not available
}
"Jim M" <an********@discussions.microsoft.com> ¦b¶l¥ó
news:O1**************@TK2MSFTNGP09.phx.gbl ¤¤¼¶¼g...
Does anyone have a method to determine if a graphic file exists in a
certain web location so that I know to display it or a substitute file?
Thanks in advance.