abcwhy - 2011/3/9 23:10:00
我在本机调试,前段时间提交信息正常,今天突然报错了,高人们怎么回事啊
XP系统,access免费版
PageAdmin版本号: V2.1 20090610
Server Error in '/' Application.
--------------------------------------------------------------------------------
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2752771
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +102
PageAdmin.product_4.Get_Lanmu3Id_By_Prod1Id(Int32 Id1) +322
PageAdmin.product_4.Prod_Add(Object src, EventArgs e) +1247
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
xiyou - 2011/3/10 12:00:00
Input string was not in a correct format.
意思是根式输入错误,检查时间或者数字类型是不是写错了,你的版本比较老了,可能存在一些bug