c#.net WEB 开发datagrid字段宽度的调整
如何用代码设置datagrid字段的宽度?
------解决方案--------------------dataGrid1.RowHeaderWidth = 100;
------解决方案--------------------eg:
<asp:BoundColumn DataField= "CatID " HeaderText= "目录编号 ">
<ItemStyle Width= "30px " Wrap= "False "> </ItemStyle>
</asp:BoundColumn>