DataBinding: 'System.Data.DataRowView' does not contain a property with the name '__Page'
<asp:DataList ID="DLCategory" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"> <ItemTemplate> <a href="Category.aspx?Cid=<%#Eval(ID) %>"> // show error in this part <asp:Label ID="Label1" runat="server" Text='<%# Eval("Name") %>'></asp:Label></a> </ItemTemplate> </asp:DataList>
<a href='<%# "Category.aspx?Cid={0}", Eval("ID") %>'> <asp:label id="Label1" runat="server" text='<%# Eval("Name") %>'> </asp:label> </a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)