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:

Line 24: {
Line 25: pid = int.Parse(Request.QueryString["pid"]);
Line 26: int id = int.Parse(Request.QueryString["id"]);
Line 27: INewsType RCon = new RNewsType();
Line 28: TNewsType info = RCon.GateItem(pid);

Source File: d:\webnew\newlist.aspx.cs    Line: 26

Stack Trace:

[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14292453
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +305
newlist.navInfo() in d:\webnew\newlist.aspx.cs:26
newlist.Page_Load(Object sender, EventArgs e) in d:\webnew\newlist.aspx.cs:14
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

Version Information: Microsoft .NET Framework Version:4.0.303乐虎国际唯一官网 ; ASP.NET Version:4.0.303乐虎国际唯一官网 .34209