fileupload1.filename = ds.table[0].rows[0]["FileName"].Tostring();
"filename property not assigned to fileupload control"
how to solve above error?
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.
Jignesh TrivediPosted Apr 10, 2014, 6:47 AM
hi,
Beacuse File name is readonly property that why you are getting error...
Please refer below link for more detail
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload(v=vs.110).aspx
why you want to assign this property?
hope this will help you.