Author: mahichandu | Posted on: 11/20/2009 3:50:15 PM | Views : 457

 Hi,
I am using Normal ASP File upload control to upload the selected file. I can upload the file & save the file in given location.Default i am getting full path of the file. But i couldn't get the selected Filename into Text box. i tried to do it with ASP File upload control.i couldn't..
So, I created File upload control with INPUT , Button control.  When I am browse the selected file & uploading I am Getting error:(.i,e Object Reference is Not set to Instance of Object.). 
I copied my code below, What am i missing?
 How can I get the only Selected Filename into textbox.??  Suggest me.
ASPX page: <tr> <td><INPUT type=file id=File2 name=File1 runat="server" /></td> <td><asp:Button runat="server" ID="btnUpload" OnClick="btnUploadClick" Text="Upload" /></td> </tr> asp ...

Go to the complete details ...