2010年6月23日
摘要: 在winform中,使用DataGridView时,想在某一列,值为“true”时,将这列颜色改变,并且将值也改变,需要用到如下方法:privatevoidgdvData_CellFormatting(objectsender,DataGridViewCellFormattingEventArgse){if(e.ColumnIndex==8)//哪一列{if(object.... 阅读全文
posted @ 2010-06-23 15:35 peter_zhang 阅读(1595) 评论(0) 推荐(0) 编辑