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

优德88免费送注册体验金-优德88手机客户端-优德88中文

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

异常详细信息: System.IndexOutOfRangeException: 优德88免费送注册体验金-优德88手机客户端-优德88中文

源错误:


行 116:        string img = "";
行 117:        DataTable dt = DB.GetDataTable("s_img", "tab_brand", "s_name='" + name + "'", "");
行 118:        img = dt.Rows[0]["s_img"].ToString();
行 119:        return img;
行 120:    }

源文件: d:\webroot\www_5888_tv\Hb_Brand\Type.aspx.cs    行: 118

堆栈跟踪:


[IndexOutOfRangeException: 优德88免费送注册体验金-优德88手机客户端-优德88中文]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1557862
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   Hb_Brand_Type.GetBrandimg(String name) in d:\webroot\www_5888_tv\Hb_Brand\Type.aspx.cs:118
   ASP.hb_brand_type_aspx.__DataBind__control11(Object sender, EventArgs e) in d:\webroot\www_5888_tv\Hb_Brand\Type.aspx:147
   System.Web.UI.Control.OnDataBinding(EventArgs e) +92
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +85
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +126
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +9501751
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
   System.Web.UI.WebControls.Repeater.DataBind() +50
   Hb_Brand_Type.Display(String type, String str) in d:\webroot\www_5888_tv\Hb_Brand\Type.aspx.cs:71
   Hb_Brand_Type.Page_Load(Object sender, EventArgs e) in d:\webroot\www_5888_tv\Hb_Brand\Type.aspx.cs:28
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


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