Hi,
at first a little bit of the code ...
<ASP:DataGrid id="an" runat="server" AutoGenerateColumns="false">
<Columns>
<asp:BoundColumn DataField="status" HeaderText="status" />
</Columns>
</ASP:DataGrid>
Some rows of this DataGrid, which is filled with an database, should get a
different color... perhaps with a css-class. How can I make this?
I tried this:
<asp:BoundColumn DataField="status" HeaderText="status"
ItemStyle-BackColor=<%# DataBinder.Eval(Container.DataItem, "Colour") %> />
But this doesn't work ... :-(
Please help me...
Thank you
Bye Alex