aspx thread: Casting something as HtmlInputFile?
I have a problem whereby the following always results in an
object-not-set-to-reference-of-object error:
this.objCom.Parameters["@Thumbnail"].Value
((HtmlInputFile)e.Item.FindControl("Thumbnail")).PostedFile.FileName.ToStrin
g();
However, there's very much an HTML control of input type file (and runat
server) in the EditItemTemplate.
Any clues here?
Wells Oliver
Web Applications Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com
|





