Server Error in '/' Application.

DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'match_round_name'.

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.Web.HttpException: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'match_round_name'.

Source Error:


Line 188:            ddlFilter.DataTextField = "match_round_name";
Line 189:            ddlFilter.DataValueField = "match_round_id";
Line 190:            ddlFilter.DataBind();
Line 191:
Line 192:            ListItem item = new ListItem("All Matches", "0");

Source File: c:\inetpub\wwwroot\billiardport.com\page_tour_matches.aspx.cs    Line: 190

Stack Trace:


[HttpException (0x80004005): DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'match_round_name'.]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +3951490
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName, String format) +36
   System.Web.UI.WebControls.ListControl.PerformDataBinding(IEnumerable dataSource) +486
   System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +408
   System.Web.UI.WebControls.ListControl.PerformSelect() +44
   page_events.LoadDropDowns() in c:\inetpub\wwwroot\billiardport.com\page_tour_matches.aspx.cs:190
   page_events.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\billiardport.com\page_tour_matches.aspx.cs:46
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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