“/”应用程序中的服务器错误。

DataBinding:“System.Data.DataRowView”不包含名为“author_zz”的属性。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Web.HttpException: DataBinding:“System.Data.DataRowView”不包含名为“author_zz”的属性。

源错误:


行 170:    <asp:DataList ID="DLzjsd" runat="server" EnableViewState=False>
行 171:    <ItemTemplate>
行 172:   	<a href='NewsView-<%#Eval("id") %>-<%#Eval("lm1")%>-<%#Eval("lm2") %>.html' title='<%#Eval("title") %>' target="_blank"><%#TNB.Common.stringHelper.Fix(Eval("Title").ToString(),35) %></a>&nbsp;&nbsp;&nbsp;&nbsp;<font style="font-size:12px; color:Gray;"><%#Eval("author_zz") %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%#Convert.ToDateTime(Eval("time").ToString()).ToString("yyyy/MM/dd HH:mm:ss")%></font>
行 173:    </ItemTemplate>
行 174:    </asp:DataList>

源文件: e:\website\www.icirculation.com\special\CSC\xsindex.aspx    行: 172

堆栈跟踪:


[HttpException (0x80004005): DataBinding:“System.Data.DataRowView”不包含名为“author_zz”的属性。]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +299
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +90
   ASP.special_csc_xsindex_aspx.__DataBind__control16(Object sender, EventArgs e) in e:\website\www.icirculation.com\special\CSC\xsindex.aspx:172
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +174
   System.Web.UI.Control.DataBindChildren() +249
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +176
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +906
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +88
   Special_AHA_xindex.binDLzjsd() in e:\website\www.icirculation.com\special\CSC\xsindex.aspx.cs:418
   Special_AHA_xindex.Page_Load(Object sender, EventArgs e) in e:\website\www.icirculation.com\special\CSC\xsindex.aspx.cs:89
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4676.0