How to create an User Interface in C#.net

Posted by Rrana under ASP.NET on 12/5/2011 | Points: 10 | Views : 1575 | Status : [Member] | Replies : 1
Hi All,

How to create an User Interface and i need to upload the files in that UI.


Thnaks in Advance

Sucharitha Goud
Bank Of America..



Responses

Posted by: Varung on: 12/5/2011 [Member] Starter | Points: 25

Up
0
Down
write below code in .aspx file

<asp:FileUpload ID="FileUpload1" runat="server" />

write below code in a button click event

FileUpload1.SaveAs("path/"+FileUpload1.FileName+"");

where path=folder path to be saved in

G.Varun

Rrana, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response