Click here to Skip to main content
15,918,889 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,

how to store path of file or image in sql server 2005 (Developer edition) table using asp.net 3.5 and how to retrive them from sql server 2005
i am waiting for yours quick response.

thanks
Posted

1 solution

If you want to store a file path, this is nothing but storing a String. You can store absolute or relative path, depends on your requirement.

Here is my one article, where I have stored Image path in DB and shows the image in GridView. It may help you

Displaying Image in Gridview from Database[^]
 
Share this answer
 
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