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

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.