Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Retrieve image from sql server without ashx page.
Posted

its a good way to store the server path of your image into the table and access that path from your front end in image control.
you can directly assign the retrieved path to image "url" property.
 
Share this answer
 
This is exactly what you want :
Storing binary data in SQL Server using EF[^]
 
Share this answer
 

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