“/”应用程序中的服务器错误。

值不能为 null。
参数名: String

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ArgumentNullException: 值不能为 null。
参数名: String

源错误:


行 108:            <uc5:newclass ID="newclass1" runat="server" />
行 109:            <% 
行 110:                SchoolClassGallery.TypeItemID = int.Parse(Request.QueryString["id"]);
行 111:                OtherClassGallery.TypeItemID = SchoolClassGallery.TypeItemID;
行 112:            %>

源文件: d:\xdjdweb\school\classdetails.aspx    行: 110

堆栈跟踪:


[ArgumentNullException: 值不能为 null。
参数名: String]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14311067
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +305
   ASP.school_classdetails_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in d:\xdjdweb\school\classdetails.aspx:110
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +394
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +49
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5363


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.36480