Server Error in '/' Application.

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

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 'CatID'.

Source Error:


Line 18:                                             <div style="border-bottom:1px solid gray;padding:10px 0;">
Line 19:                                                 <h2 class="entry-title pencil">
Line 20:                                                     <a href='NewsPaper.aspx?ID=<%# Eval("CatID")%>' style="color:black;margin-bottom:15px;display:block;">
Line 21:                                                         <asp:Literal ID="NTitle" runat="server" Text='<%# Eval("Title")%>'></asp:Literal>
Line 22:                                                     </a>

Source File: C:\Inetpub\vhosts\jamaranema.com\httpdocs\NewsPapers.aspx    Line: 20

Stack Trace:


[HttpException (0x80004005): DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'CatID'.]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +3950390
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +95
   ASP.newspapers_aspx.__DataBind__control4(Object sender, EventArgs e) in C:\Inetpub\vhosts\jamaranema.com\httpdocs\NewsPapers.aspx:20
   System.Web.UI.Control.OnDataBinding(EventArgs e) +100
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +178
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.WebControls.ListView.CreateItemsWithoutGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) +1200
   System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +1275
   System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) +53
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +208
   System.Web.UI.WebControls.ListView.PerformSelect() +126
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +134
   System.Web.UI.WebControls.ListView.CreateChildControls() +81
   System.Web.UI.Control.EnsureChildControls() +107
   System.Web.UI.Control.PreRenderRecursiveInternal() +58
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671


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