摘要:
在dataGridView1_RowPostPaint() 事件下添加下列代码可以实现在DataGridView中自动添加行号到因定列上 using (SolidBrush b = new SolidBrush(dataGridView1.RowHeadersDefaultCellStyle.ForeColor)) { ... 阅读全文
posted @ 2007-04-07 19:11 黄田 阅读(389) 评论(0) 推荐(0)
摘要:
在dataGridView1_RowPostPaint() 事件下添加下列代码可以实现在DataGridView中自动添加行号到因定列上 using (SolidBrush b = new SolidBrush(dataGridView1.RowHeadersDefaultCellStyle.ForeColor)) { ... 阅读全文
posted @ 2007-04-07 19:11 黄田 阅读(389) 评论(0) 推荐(0) |
||