行 101:// this.fileup.PostedFile.SaveAs(Server.MapPath("bin")+"\\"+str); 行 102: 行 103: Response.Write (fileup.PostedFile.FileName); 行 104: 行 105: }
[NullReferenceException: 未将对象引用设置到对象的实例。] WebApplication1.WebForm1.Button3_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\webapplication1\webform1.aspx.cs:103 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1263