How to set the alignment and font of the data in a column in asp:GridView

In the design view, click on the arrow shown in the top left corner of the asp:GridView component to get the GridView Tasks and then select ‘Edit columns…’. Then click on the minus sign of the ItemStyle to expand the properties. Then do the changes as shown below.


No comments: