Server Error in '/' Application.

Column 'id' does not belong to table Table.

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.ArgumentException: Column 'id' does not belong to table Table.

Source Error:


Line 47:                 litdescription.Text = ds.Tables[0].Rows[0]["longtext"].ToString();
Line 48:                 //fillseo(ds.Tables[0].Rows[0]["title"].ToString());
Line 49:                 bindproducts(ds.Tables[0].Rows[0]["id"].ToString());
Line 50:                 string vcode = "", vname = "", vcat = "", contents = "", image = "", desc = "", title = "", kb = "";
Line 51:                 DataSet ds2 = vnk.ExecQ("sp_getseodetailsbytypeandid 'blog'," + bid + "");

Source File: f:\inetpub\vhosts\baidyanath.co.in\httpdocs\blog-detail.aspx.cs    Line: 49

Stack Trace:


[ArgumentException: Column 'id' does not belong to table Table.]
   System.Data.DataRow.GetDataColumn(String columnName) +7107668
   System.Data.DataRow.get_Item(String columnName) +17
   blog_detail.bindblog() in f:\inetpub\vhosts\baidyanath.co.in\httpdocs\blog-detail.aspx.cs:49
   blog_detail.Page_Load(Object sender, EventArgs e) in f:\inetpub\vhosts\baidyanath.co.in\httpdocs\blog-detail.aspx.cs:18
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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