http://blog.chinaunix.net/u2/65112/showart_515771.html
String rootPath = Server.MapPath("~");
if (FileUpload1.HasFile)
{
FileUpload1.SaveAs(rootPath+"\\" + FileUpload1.FileName);
}
else
{
Label1.Text = "请选择文件后,在保存";
}