1
<ItemTemplate>
 <asp:LinkButton ID="LinkButton1" runat="server" Text='<%#Bind("News_Title") %>' 
                 CommandName="Submit" 
                 CommandArgument='<%#Eval("ID") %>' 
                 onclick="LinkButton1_Click" >LinkButton</asp:LinkButton>
</ItemTemplate>

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

4

0 回答 0