Hi,
I have a dataset table whose column definition is dynamic. (I.e. the
viewable columns are configured by the user).
Within the table one or more columns need to be displayed as a tick (or
not, depending on the data value) even possibly a nice graphic.
The question is how the hell do I dynamically define the column type (or
graphic) at the point of data binding.
I've read allsorts of KB posting which suggest adding the html tags at
design time
i.e.
<asp

ataGrid ...>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:CheckBox Runat="server" Enabled="False" Checked=
'<%# Container.DataItem("HasNotes") = True %>'/>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp

ataGrid>
But this is no use because I don't know what the column name is, unless
there is a way of squirting such code into the html as it is rendered???
Please help as this is driving me mad!!!
Regards
Andy