Hi...
I have used fileupload control to save file in different location in computer. I want to store the location(path) in my SQL server database. How can i do this?
Loading
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.
Abhimanyu K VatsaPosted Jul 21, 2011, 3:58 AM
String root = Server.MapPath("~");
Valon AdemiPosted Jul 26, 2011, 2:19 AM
Jaganathan BantheswaranPosted Jul 21, 2011, 2:25 AM
You might be knowing how to save string values into database.
as like other string, just take the file path and save it to the database.