Server Error in '/' Application.

There is no row at position 0.

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: There is no row at position 0.

Source Error:


Line 236:    <div class="inner_left_content_wrap">
Line 237:        <div class="image_contaner">
Line 238:            <img src='<%=oWebsiteProductDetail.Tables[1].Rows[0]["Banner"].ToString()%>' alt=""
Line 239:                width="670" height="186" /></div>
Line 240:        <div class="page_heading">

Source File: c:\HostingSpaces\hemetek\hemetek.com\wwwroot\ProductList.aspx    Line: 238

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2561997
   System.Data.RBTree`1.get_Item(Int32 index) +16
   System.Data.DataRowCollection.get_Item(Int32 index) +16
   ASP.productlist_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpaces\hemetek\hemetek.com\wwwroot\ProductList.aspx:238
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   ASP.hemetek_master.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpaces\hemetek\hemetek.com\wwwroot\Hemetek.master:115
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +253
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9061