xpj5.com

Server Error in '/' Application.

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

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

Source Error:


Line 113:                                                            <p><a href="RecipesDetail.aspx?i=<%#Eval("Id") %>" target="_blank"><%#Eval("Title") %></a></p>
Line 114:                                                          <%-- <div class="star_xz">美味指数:<%#GetRankString(Convert.ToInt32(Eval("RecommendRank"))) %></div>--%>  
Line 115:                                                            <div class="lookbtn"><a class="aa"><%#Eval("Total") %></a><a  class="soucuang"><%#GetMyFavoriteCount(Eval("Id").ToString())%></a></div>
Line 116:                                                        </li>
Line 117:                                                    </ItemTemplate>

Source File: d:\webroot\WEB\Member\Kitchen.aspx    Line: 115

Stack Trace:


[HttpException (0x80004005): DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Total'.]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +11394550
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +142
   ASP.member_kitchen_aspx.__DataBind__control11(Object sender, EventArgs e) in d:\webroot\WEB\Member\Kitchen.aspx:115
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +304
   System.Web.UI.Control.DataBindChildren() +11424823
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +185
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +627
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +167
   KingTop.WEB.Member.Kitchen.rptPageList_ItemDataBound(Object sender, RepeaterItemEventArgs e) +1931
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +204
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +627
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +167
   KingTop.WEB.Member.Kitchen.BindPage() +687
   KingTop.WEB.Member.Kitchen.Page_Load(Object sender, EventArgs e) +114
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064


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