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 17: {
Line 18: int pid = int.Parse(Request.QueryString["pid"]);
Line 乐虎国际唯一官网 : int id = int.Parse(Request.QueryString["fid"]);
Line 20: INewsType RCon = new RNewsType();
Line 21: TNewsType info = RCon.GateItem(pid);

Source File: d:\webnew\newinfo.aspx.cs    Line: 乐虎国际唯一官网

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.navInfo() in d:\webnew\newinfo.aspx.cs:乐虎国际唯一官网
newinfo.Page_Load(Object sender, EventArgs e) in d:\webnew\newinfo.aspx.cs:12
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