Server Error in '/' Application.

Cannot find table 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: Cannot find table 0.

Source Error:


Line 10: <head>
Line 11:     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Line 12:     <title><%=company_view_Ds.Tables[0].Rows.Count > 0 ? company_view_Ds.Tables[0].Rows[0]["pinpai_name"] : ""%>-<%=company_view_Ds.Tables[0].Rows.Count > 0 ? company_view_Ds.Tables[0].Rows[0]["company_name"] : ""%></title>
Line 13:     <meta name="keywords" content="<%=company_view_Ds.Tables[0].Rows.Count > 0 ? company_view_Ds.Tables[0].Rows[0]["pinpai_name"] : ""%>,<%=company_view_Ds.Tables[0].Rows.Count > 0 ? company_view_Ds.Tables[0].Rows[0]["company_name"] : ""%>,<%=company_view_Ds.Tables[0].Rows.Count > 0 ? company_view_Ds.Tables[0].Rows[0]["diqu"] : ""%><%=company_view_Ds.Tables[0].Rows.Count > 0 ? company_view_Ds.Tables[0].Rows[0]["caizhi"] : ""%>" />
Line 14:     <meta name="description" content="<%= CutString.Company_string(company_view_Ds.Tables[0].Rows.Count > 0 ? company_view_Ds.Tables[0].Rows[0]["content"] : "", 150)%>" />

Source File: d:\safeDogSite\www.pphmw.com\company\Default.aspx    Line: 12

Stack Trace:


[IndexOutOfRangeException: Cannot find table 0.]
   System.Data.DataTableCollection.get_Item(Int32 index) +6326994
   ASP.company_default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\safeDogSite\www.pphmw.com\company\Default.aspx:12
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290


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