开发者

how to set alignment of label in HeaderTemplate in individual column in gridview in asp .net?

开发者 https://www.devze.com 2023-02-10 07:03 出处:网络
how to set alignment of label in HeaderTemplate in individual column开发者_高级运维 in gridview in asp .net?try

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"/>
0

精彩评论

暂无评论...
验证码 换一张
取 消