Duh, of course you are using C#.  

The problem is that the input control is in the datalist (really need
to read these more carefully), so the that you are not grabbing the
proper reference to the control. Object source should be a reference
to the control.  Just cast it at the top of your procedure and you
should be all set.

PicUpld = (System.Web.UI.HtmlControls.HtmlInputFile)source;

HTH,

-- 
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to