R
Ronald Moolenaar
Hi,
I am trying to get a datagrid working, but it seems to have a problem with
databinding in a boundcolumn. The error message I get is 'BoundColumn does
not contain a definition for databinding'.
Here is my code:
<aspataGrid id="devices" runat="server" datasource='<%# AllDevices %>'>
AutoGenerateColumns=False>
<Columns>
<asp:BoundColumn HeaderText='<%#
translator.GetTranslation("lblIPAddress")%>'/>
</Columns>
</aspataGrid>
When changing the boundcolumn to <asp:BoundColumn HeaderText="Test"/> the
datagrid works fine.
Does anyone have any suggestions on this matter?
Thanks in advance,
Ronald
I am trying to get a datagrid working, but it seems to have a problem with
databinding in a boundcolumn. The error message I get is 'BoundColumn does
not contain a definition for databinding'.
Here is my code:
<aspataGrid id="devices" runat="server" datasource='<%# AllDevices %>'>
AutoGenerateColumns=False>
<Columns>
<asp:BoundColumn HeaderText='<%#
translator.GetTranslation("lblIPAddress")%>'/>
</Columns>
</aspataGrid>
When changing the boundcolumn to <asp:BoundColumn HeaderText="Test"/> the
datagrid works fine.
Does anyone have any suggestions on this matter?
Thanks in advance,
Ronald