<asp:BoundField DataField="quantity" DataFormatString="{0:#,###}" HeaderText="Quantity"
SortExpression="quantity">
<HeaderStyle BackColor="LightSkyBlue" BorderColor="LightSkyBlue" BorderWidth="1px"
Font-Bold="False" HorizontalAlign="Center" ForeColor="Black" />
<ItemStyle HorizontalAlign="Right" VerticalAlign="Top" Width="60px" BorderColor="LightSkyBlue"
BorderWidth="1px" />
</asp:BoundField>
1 comment:
Format decimal string using GridView
Post a Comment