R
Randel
Hi.
I am building a datagrid based on a datatable. I am attempting to
apply a style value using the syntax
Datagrid.HeaderStyle.CssClass="mystyle".
When the datagrid renders, the style is applied at the row level
(example below)
<tr class="mystyle" align="Left" valign="Top">
<td>Name</td><td>City</td><td>Begin Date</td><td>Category</
td><td>Calendar</td></tr>
I need it to apply at the column level
<tr align="Left" valign="Top">
<td class="mystyle">Name</td><td class="mystyle">City</td><td
class="mystyle">Begin Date</td><td class="mystyle">Category</td><td
class="mystyle">Calendar</td></tr>
I can't figure this out. Can you help?
Thanks. Randy
I am building a datagrid based on a datatable. I am attempting to
apply a style value using the syntax
Datagrid.HeaderStyle.CssClass="mystyle".
When the datagrid renders, the style is applied at the row level
(example below)
<tr class="mystyle" align="Left" valign="Top">
<td>Name</td><td>City</td><td>Begin Date</td><td>Category</
td><td>Calendar</td></tr>
I need it to apply at the column level
<tr align="Left" valign="Top">
<td class="mystyle">Name</td><td class="mystyle">City</td><td
class="mystyle">Begin Date</td><td class="mystyle">Category</td><td
class="mystyle">Calendar</td></tr>
I can't figure this out. Can you help?
Thanks. Randy