>I have a GridView in an ASP.Net WebForm. This grid contains a numeric column that I would like to show as right justified so that the numbers in the column line up correctly.
>
>Is there a way to do this?
>
>Thanks,
>
>Jerry
Add:
ItemStyle tag with HorizontalAlign="Right"
ie: (Switch to source view)
<asp:BoundField HeaderText="Quantity"
DataField="Quantity" SortExpression="Quantity"
DataFormatString="{0:d}">
<ItemStyle HorizontalAlign="Right"></ItemStyle>
</asp:BoundField>
Cetin