Choose Your File To Upload :
<input id="FileField" type="File" runat="server"/>
<input id="FileName" runat="server"/>
<asp:Button ID="UploadButton" runat="server" Text="Go"
onclick="UploadButton_Click" />
c# code
protected void UploadButton_Click(object sender, EventArgs e)
{
FileName.InnerHtml = FileField.PostedFile.FileName;
string strFileName;
strFileName = FileField.PostedFile.FileName;
string c = System.IO.Path.GetFileName(strFileName);
FileField.PostedFile.SaveAs("C:\\UploadedUserFiles\\" + c);
}