how to set alignment of label in HeaderTemplate in individual column开发者_高级运维 in gridview in asp .net?
try
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
for example in the template field tag
and for bound field something like
<asp:BoundField HeaderText="XYZ" DataField="xyz" HeaderStyle-HorizontalAlign="Left"/>
精彩评论