Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to bind image to datagridview image column(windows application) .Image saved in my web server folder.


Below is my code
picSupport.Image = Image.FromStream(
System.Net.HttpWebRequest.Create("http://www.sample.com/Photo/Test.Jpg")
.GetResponse().GetResponseStream());

It works perfectly .But after few days it shows an error .

"remote server return an error(403) forbidden "


Please help me
Posted
Updated 2-May-13 21:35pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900