Server Error in '/' Application.

Column 'VR_Banner' does not belong to 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 'VR_Banner' does not belong to table .

Source Error:


Line 40:         banner = ""
Line 41:         If dt.Rows.Count > 0 Then
Line 42:             banner = dt.Rows(0)("VR_Banner").ToString()
Line 43:         End If
Line 44:         Return banner

Source File: D:\Inetpub\wwwroot\Pawanhans-Hindi-New\App_Code\VBCode\Banners.vb    Line: 42

Stack Trace:


[ArgumentException: Column 'VR_Banner' does not belong to table .]
   System.Data.DataRow.GetDataColumn(String columnName) +7107668
   System.Data.DataRow.get_Item(String columnName) +17
   Banners.BindImage_heading(String status, String menu_id) in D:\Inetpub\wwwroot\Pawanhans-Hindi-New\App_Code\VBCode\Banners.vb:42
   Inner.Page_Load(Object sender, EventArgs e) in D:\Inetpub\wwwroot\Pawanhans-Hindi-New\Inner.aspx.vb:33
   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