Link to home
Start Free TrialLog in
Avatar of shanemay
shanemayFlag for United States of America

asked on

Display and image from SQL Server

I am able to upload an image to a SQL Server Database using C#, However, I am unable to read the image from the database and display it in an img element.  I am using ASP.NET 2.0.

Thank you for you help.  
Avatar of mkosbie
mkosbie

You need to create a page to read the image data from the DB, then use that page as the source for your image.  http://www.codeproject.com/KB/asp/Display_Images_from_Data.aspx
Avatar of shanemay

ASKER

Is the same true for ASP.NET, the link has some good information, however, it references ASP only.

Thank you
ASKER CERTIFIED SOLUTION
Avatar of mkosbie
mkosbie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for your help.  The solution makes so much sense now.  I really appreciate your help.  
Glad to help.