marinajogy
September 14th, 2008, 04:34 AM
Hi
I am using asp.net version 2.0 - i want programatcially change the column
header of datagrid for a bound column - see below
<asp:BoundColumn HeaderText="Locality Name" DataField="locality">
<ItemStyle BackColor=GOLD Wrap=false Width="150px"></ItemStyle>
<HeaderStyle HorizontalAlign="Center" Width="150px"/>
</asp:BoundColumn>
when code executes i want change HeaderText="Locality" etc
is possible
I am using asp.net version 2.0 - i want programatcially change the column
header of datagrid for a bound column - see below
<asp:BoundColumn HeaderText="Locality Name" DataField="locality">
<ItemStyle BackColor=GOLD Wrap=false Width="150px"></ItemStyle>
<HeaderStyle HorizontalAlign="Center" Width="150px"/>
</asp:BoundColumn>
when code executes i want change HeaderText="Locality" etc
is possible