R
Robin
When adding a template column to a datagrid the following error is displayed
on page load. The datagrid is bound to a class and the fieldname does exist.
No default member found for type 'myClass'.
<ItemTemplate>
<asp:Label id="Label3" runat="server" Font-Size="X-Small" Text='<%#
Container.DataItem("myField") %>'></asp:Label>
</ItemTemplate>
Should the setting the data for the template column be defined differently
or changes to the class?
on page load. The datagrid is bound to a class and the fieldname does exist.
No default member found for type 'myClass'.
<ItemTemplate>
<asp:Label id="Label3" runat="server" Font-Size="X-Small" Text='<%#
Container.DataItem("myField") %>'></asp:Label>
</ItemTemplate>
Should the setting the data for the template column be defined differently
or changes to the class?