I have a gridview, I want to make header's align (center).I tried to use HorizontalAlign="Center" property in <HeaderStyle> tag , but it didn't work
Add a CSS class property to GridView
CssClass = "GridViewClass"
And then add this above GridView
<style type = "text/css"> .GridViewClass th { text-align: center !important; } </style>
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.