Live Chat Icon For mobile
Live Chat Icon

How to right align cells in the Datagrid when using BoundColumn

Platform: ASP.NET| Category: DataGrid

Commonly used in conjunction with RTL languages, you can do so as follows:


<asp:BoundColumn DataField ='PRoductname' HeaderText ='ProductName' ItemStyle-HorizontalAlign='Right'></asp:BoundColumn>

Share with

Share on twitter
Share on facebook
Share on linkedin