Server Error in '/' Application.

Cannot find column 12.

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 column 12.

Source Error:


Line 36:         string Phone = tbl.Rows[0][6].ToString();
Line 37:         string Fax = tbl.Rows[0][7].ToString();
Line 38:         string sologan = tbl.Rows[0][12].ToString();
Line 39:         string Website = tbl.Rows[0][13].ToString();
Line 40:      //   ltrTitile.Text = Title;

Source File: c:\inetpub\vhosts\dichvuxebagachanoi.com\httpdocs\lienhe.aspx.cs    Line: 38

Stack Trace:


[IndexOutOfRangeException: Cannot find column 12.]
   System.Data.DataColumnCollection.get_Item(Int32 index) +79
   System.Data.DataRow.get_Item(Int32 columnIndex) +16
   Default3.binddata() in c:\inetpub\vhosts\dichvuxebagachanoi.com\httpdocs\lienhe.aspx.cs:38
   Default3.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\dichvuxebagachanoi.com\httpdocs\lienhe.aspx.cs:25
   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


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