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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top