输入字符串的格式不正确。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.FormatException: 输入字符串的格式不正确。源错误:
行 46: }
行 47: //MessageBox(MBx_Type, MBx_Title, MBx_Body, MBx_IconType, strUrl, UrlType.Href);//
行 48: EventMessage.MessageBox(MBx.M_Type, MBx.M_Title, MBx.M_Body, MBx.M_IconType,strUrl.ToString() );
行 49: }
行 50:
源文件: C:\Documents and Settings\mzl\My Documents\Visual Studio 2008\Projects\ksxt\ksxt\userLogin.aspx.cs 行: 48 堆栈跟踪:
[FormatException: 输入字符串的格式不正确。]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7472055
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
System.Convert.ToInt32(String value) +63
FrameWork.Common.get_Get_UserID() +129
FrameWork.EventMessage.EventWriteDB(Int32 E_Type, String E_Record) +43
FrameWork.EventMessage.MessageBox(MessageBox MBx) +79
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, Boolean M_WriteToDB, List`1 M_ButtonList, String M_ReturnScript) +161
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, Boolean M_WriteToDB, String Url, UrlType M_UrlType, String ReturnScript) +144
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, String Url, UrlType M_UrlType) +61
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, String Url) +50
FrameWork.web.userLogin.btnLogin_Click(Object sender, EventArgs e) in C:\Documents and Settings\mzl\My Documents\Visual Studio 2008\Projects\ksxt\ksxt\userLogin.aspx.cs:48
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3634; ASP.NET 版本:2.0.50727.3634
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.FormatException: 输入字符串的格式不正确。源错误:
行 46: }
行 47: //MessageBox(MBx_Type, MBx_Title, MBx_Body, MBx_IconType, strUrl, UrlType.Href);//
行 48: EventMessage.MessageBox(MBx.M_Type, MBx.M_Title, MBx.M_Body, MBx.M_IconType,strUrl.ToString() );
行 49: }
行 50:
源文件: C:\Documents and Settings\mzl\My Documents\Visual Studio 2008\Projects\ksxt\ksxt\userLogin.aspx.cs 行: 48 堆栈跟踪:
[FormatException: 输入字符串的格式不正确。]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7472055
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
System.Convert.ToInt32(String value) +63
FrameWork.Common.get_Get_UserID() +129
FrameWork.EventMessage.EventWriteDB(Int32 E_Type, String E_Record) +43
FrameWork.EventMessage.MessageBox(MessageBox MBx) +79
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, Boolean M_WriteToDB, List`1 M_ButtonList, String M_ReturnScript) +161
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, Boolean M_WriteToDB, String Url, UrlType M_UrlType, String ReturnScript) +144
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, String Url, UrlType M_UrlType) +61
FrameWork.EventMessage.MessageBox(Int32 M_Type, String M_Title, String M_Body, Icon_Type M_IconType, String Url) +50
FrameWork.web.userLogin.btnLogin_Click(Object sender, EventArgs e) in C:\Documents and Settings\mzl\My Documents\Visual Studio 2008\Projects\ksxt\ksxt\userLogin.aspx.cs:48
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3634; ASP.NET 版本:2.0.50727.3634
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货