Click to See Complete Forum and Search --> : Dynamic attributes in datagrid.


andlag
February 7th, 2004, 08:00 AM
Hi,
I want to create these attributes dynamically in a datagrid from the codebehind.

<asp:DataGrid id="dataGrid1" runat="server"
BorderColor="black"
BorderWidth="1"
GridLines="Both"
CellPadding="3"
CellSpacing="0"
HeaderStyle-BackColor="#aaaadd"
/>
I'm was thinking of starting like this:
FindControl("DataGrid1")
But there are no members for attributes.

Please help

Yours sincerely
Andla