Hi
I have been getting the above error whenever I use the
codes below.
<asp:DataGrid id="MyList" runat="server"
AutoGenerateColumns="false" />
<Columns>
<asp:TemplateColumn HeaderText="Someheader">
<ItemTemplate>
<asp:Label id="whatheader" runat="server" Text='<%#
Container.DataItem("title")%>' />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:Datagrid>
Any idea why? I have also used <%# Databinder.Eval
(container.DataItem, "title") %> with the same error.
pls help. thanks in adv.