天天@BLOG

脖子越来越疼,脑袋越来越钝
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2006年1月11日

摘要: dataGrid1.TableStyles["A"].GridColumnStyles[col].Width = width; 下面是一个自动设值列宽的函数,可以参考一下:/// autosize the first column/// /// column numberprivate void AutoSizeCol(int col) { float width = 0; int numRows... 阅读全文

posted @ 2006-01-11 14:11 天天在线 阅读(1621) 评论(2) 推荐(0)

@忙碌,不代表有效率;方法,远胜于苦干