How to change GridView column alignments for dynamic data source ?
By default ASP.NET GridView Columns has left alignment text. We can use GridView ItemStyle property with either of GridView BondField or Template Field to change the default alignments.GridView properties,ItemStyle-HorizontalAlign having few set of values, using which we can change the alignments. Above customization is true when you are using Bound Field or Template Field for binding…