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 29:     private void pageBind()
Line 30:     {
Line 31:         int _id = TS.Tools.XMLAction.GetValue(Request.QueryString["_no"]);
Line 32:         if (!UI_Common.IsViewed(TS.Config.DBConfig.table_job_offer, _id.ToString()))
Line 33:         {

Source File: d:\web\TS.WebSite\job\offer\details.aspx.cs    Line: 31

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
   TS.Tools.XMLAction.GetValue(String _no, Int32 _type) +366
   job_offer_details.pageBind() in d:\web\TS.WebSite\job\offer\details.aspx.cs:31
   job_offer_details.Page_Load(Object sender, EventArgs e) in d:\web\TS.WebSite\job\offer\details.aspx.cs:18
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209