Server Error in '/' Application.

亚博体育官网app_亚博app苹果_亚博体育在线登录

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.IndexOutOfRangeException: 亚博体育官网app_亚博app苹果_亚博体育在线登录

Source Error:


Line 14:     {
Line 15:         int id = Convert.ToInt32(Request.QueryString["id"]);
Line 16:         dr = SqlHelper.Query("select * from Article where nID=" + id).Tables[0].Rows[0];
Line 17: 
Line 18:         if (Utils.ToString(dr["vcRedirect"]) != "")

Source File: d:\Web\Topic_Show.aspx.cs    Line: 16

Stack Trace:


[IndexOutOfRangeException: 亚博体育官网app_亚博app苹果_亚博体育在线登录]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1672330
   System.Data.DataRowCollection.get_Item(Int32 index) +21
   Topic_Show.Page_Load(Object sender, EventArgs e) in d:\Web\Topic_Show.aspx.cs:16
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


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