C# DataGridView内容合并相同的行

主要原理就是在CellingPainting时间中,删除原来的所在列的网格,而后从新画线,显示内容。代码以下:this private void dataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { // 对第n列相同单元格进行合并,多列合并继续加条件
相关文章
相关标签/搜索