- 精华
- 阅读权限
- 40
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2012-8-25
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2013-1-9 20:48:48
|
显示全部楼层
添加商城物品时出现这样的提示。。
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
输入字符串的格式不正确。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.FormatException: 输入字符串的格式不正确。
源错误:
行 108: string _sell_chk = YN(this.sell_chk.Checked);
行 109: int _num = int.Parse(this.num.Value.Trim());
行 110: int _icon_code = int.Parse(this.icon_code.Value.Trim());
行 111: string _v_name = this.v_name.Value.Trim();
行 112: string _ability = this.ability.Value.Trim();
源文件: c:\Inetpub\wwwroot\Manage\Admin_GameShopAction.aspx.cs 行: 110
堆栈跟踪:
[FormatException: 输入字符串的格式不正确。]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2755599
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +112
System.Int32.Parse(String s) +20
Manage_Admin_GameShopAction.btn_Add_Click(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Manage\Admin_GameShopAction.aspx.cs:110
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) +1746
|
|