“/”应用程序中的服务器错误。

raybet雷竞技下载-raybet官网下载-raybet开户

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.FormatException: raybet雷竞技下载-raybet官网下载-raybet开户

源错误:


行 34:         string temppath = Server.MapPath(path + "news_view.html");
行 35:         SqlConnection Conn = new SqlCheck().oconn();
行 36:         int idz = Convert.ToInt32(Request["id"].ToString());
行 37:         string sqla = "select top 1 id from news where id='" + idz + "'";
行 38:         SqlDataAdapter daa = new SqlDataAdapter(sqla, Conn);

源文件: d:\wwwroot\0839114\wwwroot\news_view.aspx.cs    行: 36

堆栈跟踪:


[FormatException: raybet雷竞技下载-raybet官网下载-raybet开户]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +12743433
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +120
   System.Convert.ToInt32(String value) +44
   new_view.bangding(String path) in d:\wwwroot\0839114\wwwroot\news_view.aspx.cs:36
   new_view.Page_Load(Object sender, EventArgs e) in d:\wwwroot\0839114\wwwroot\news_view.aspx.cs:28
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3650.0