优发娱乐

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 97: {
Line 98: string[] fields = parser.ReadFields();
Line 99: var lstStrDatePart = fields[0].Split('/').Select(s => Convert.ToInt32(s)).ToArray();
Line 100: var date = new DateTime(lstStrDatePart[0] + 1911, lstStrDatePart[1], lstStrDatePart[2]);
Line 101:%> {date: new Date("<%= date.ToString("yyyy/MM/dd") %>"), val: <%= fields[6].Replace(",", "") %>, vol: <%= fields[1].Replace(",", "") %>},

Source File: d:\web\fenc\fencweb\investor\ir_stock.aspx    Line: 99

Stack Trace:

[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +12743585
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +120
System.Convert.ToInt32(String value) +44
ASP.investor_ir_stock_aspx.<__Render__control1>b__0(String s) in d:\web\fenc\fencweb\investor\ir_stock.aspx:99
System.Linq.WhereSelectArrayIterator`2.MoveNext() +58
System.Linq.Buffer`1..ctor(IEnumerable`1 source) +79
System.Linq.Enumerable.ToArray(IEnumerable`1 source) +46
ASP.investor_ir_stock_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\web\fenc\fencweb\investor\ir_stock.aspx:99
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3535.0
千赢国际老虎机手机版必赢盘官网betway必威手机中文版