摘要: privatevoiddataGridView1_CellFormatting(objectsender,DataGridViewCellFormattingEventArgse){if(e.ColumnIndex==dataGridView1.Columns["StartTime"].Index... 阅读全文
posted @ 2013-03-11 11:18 唐胡璐 阅读(1250) 评论(0) 推荐(0)
摘要: 第一、设置RowsDefaultCellStyle的WrapMode属性值为true(表示支持多行显示)第二、设置AllowUserToResizeColumns属性值为true(表示用户拉大行高)第三、设置AutoSizeRowsMode属性值为AllCells(表示所有单元格自动调节单元格高度... 阅读全文
posted @ 2013-03-11 11:13 唐胡璐 阅读(453) 评论(0) 推荐(0)