![](/img/trans.png)
[英]DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Name'
[英]DataBinding: 'System.Data.DataRowView' does not contain a property with the name for searchable gridview
我得到这个错误
数据绑定:“ System.Data.DataRowView”不包含名称为“
我对如何使用此方法有0个想法。 我正在尝试按照本教程进行可搜索的gridview。 但即使在我尝试测试之前,我什至无法通过此错误。
<asp:Label ID="lblpoliceid" runat="server" Text='<%# (Eval("policeid").ToString()) %>'>
</asp:Label>
我该如何解决? 问候。 PS:如果有人能给我一些有关如何通过databind而不是databound /进行可搜索gridview的参考,我将不胜感激。
The DataSource You binding to gridview does not have field "policeid"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.