aspGridView ID=GridView1 runat=server绑定的DataTable共有3列如何设置列宽
可以通过在GridView的列中添加ItemStyle来设置列宽,例如:
<asp:GridView ID="GridView1" runat="server">
在ItemStyle-Width中设置列宽,单位可以是px或em。
原文地址: https://www.cveoy.top/t/topic/bEWB 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
可以通过在GridView的列中添加ItemStyle来设置列宽,例如:
<asp:GridView ID="GridView1" runat="server">
在ItemStyle-Width中设置列宽,单位可以是px或em。
原文地址: https://www.cveoy.top/t/topic/bEWB 著作权归作者所有。请勿转载和采集!