如何在c#中减少gridview列宽? [英] how to reduce gridview column width in c#?

查看:71
本文介绍了如何在c#中减少gridview列宽?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何减少c#中的gridview列宽?

advance Wishes !!

ramesh M


how to reduce gridview column width in c#?
advance Wishes!!
ramesh M

推荐答案

您可以在gridview模板中指定它。您可以随心所欲地制作它。
You can specify it in your gridview template. You can make it whatever you like.


在列中添加此属性:ItemStyle-Width =20px
add this attribute in column: "ItemStyle-Width="20px"


headertext_width =20%



模板提交......
headertext_width="20%"

in template filed......


这篇关于如何在c#中减少gridview列宽?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆