hi
how to get the fileupload path from database
like
txtfname.Text = ds.Tables[0].Rows[0]["FirstName"].ToString();
here we get the name from database like how to get the fileupload path in fileupload control
Get fileupload path from database
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jan 8, 2013, 7:40 PM EST
File upload control is used to give option for user to select a file. Why do you want to show the previous file path when editing. It's not an ASP.Net restriction, it's actually how HTML does it. The reason? For security this is a really bad idea as it would give the ability for less than scrupulous individuals to create a form and place a path in an upload that points to files in the OS that could contain cookies, documents, or other sensitive files.
Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jan 8, 2013, 7:26 PM EST
Then i would say .net framework dont support.
'System.Web.UI.WebControls.FileUpload.FileName' cannot be assigned to -- it is read only
prathyusha173 reputationPosted Jan 8, 2013, 7:32 PM EST