Right-align Datagrid Column in Web Form

  • Thread starter Thread starter David
  • Start date Start date
D

David

My datagrid contains a date column that I'd like right-aligned, but I can't
find anything in the Visual Studio .NET help. Is there a way?
Many thanks!
David
 
Hi,
Try with this.............

<asp:BoundColumn DataField="MyDate" SortExpression="MyDate"
HeaderText="Date">
<ItemStyle Wrap="False"></ItemStyle>

Or go to Property builder-->Format-->Item tag there u can set Horizontal
and Vertical alignment.........

I hope this will help u................

Reagrds,
Ritesh
 
Back
Top