Save images path
How to save images path in database from folder in gridview?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted Mar 12, 2012, 3:36 AM
Lets consider an table.
As a developer, you know where the image resides. Then what you need to do is
Server.MapPath("Path")+"image name";
Assign this to the image control.
The reason for do not store the entire image url is you may move this folder to some where later and no need to store that much size. you can store the space as well.
Hope this will answer your question.
If it is useful then mark it as accept answer.