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 55: int pid = int.Parse(Request.QueryString["pid"]);
Line 56: int fid = int.Parse(Request.QueryString["fid"]);
Line 57: int ID = Convert.ToInt32(Request.QueryString["id"].ToString().Trim());
Line 58: INews RCon = new RNews();
Line 59: TNews info = RCon.GateItem(ID);

Source File: d:\webnew\newinfo.aspx.cs    Line: 57

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
newinfo.Bind() in d:\webnew\newinfo.aspx.cs:57
newinfo.Page_Load(Object sender, EventArgs e) in d:\webnew\newinfo.aspx.cs:13
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