Response.Write("<script>window.οnlοad=function (){if(confirm(\"该文件已经存在,确定要替换吗吗?\")){document.getElementById(\"hidIsSave\").value = \"1\" }else {document.getElementById(\"hidIsSave\").value = \"0\"}}</script>");
if (hidIsSave.Value == "1") { File.Delete(Server.MapPath(FileName)); fuload.SaveAs(Server.MapPath(FileName)); } else {}