hey
I have a linkbutton in gridview itemtemplate whenever i post to other page an error shows
ERROR
DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'ID'
vb Code:
Line 33: <ItemTemplate> Line 34: <asp:LinkButton ID="LinkButton2" runat="server" Text='<%# Eval("pk_ddlvryMasterID") %>' PostBackUrl ='<%# "~/Details.aspx?ID="+Eval("ID") %> ' OnClick="LinkButton2_Click"></asp:LinkButton> Line 35: </ItemTemplate>




Reply With Quote