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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 10, 2014, 2:47 AM EDT
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.