When we click on "View Uploaded Image" link, the user will be redirected to WebForm2.aspx. The Id of the image will be passed as a query string parameter. In the page load event, we need to retrieve the image from the database and display it on the web page.

2 comments:

First of all thanks a lot for all the video tutorials you have shared. :-)I have a query :I have used below code to access image file's propertylist.System.Drawing.Image SelectImage; SelectImage = new Bitmap(@"" + Server.MapPath("~/MobilePhotos/") + filename[i]); property_ids = SelectImage.PropertyIdList; foreach (int ScanProperty in property_ids) {...} It works fine on local system but errors out on the server with below error