合并单元格中的DataGridView [英] Merge cells in datagridview
本文介绍了合并单元格中的DataGridView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法合并单元格在.NET中的WinForms的datagridview的。我想合并一排的两个或多个单元格。
Is there a way to merge cells in datagridview of .net in winforms .I would like to merge two or more cells of a row .
推荐答案
您将不得不执行OnPaint事件和自己做。 这里就是一个例子。 你也可以检查出 SourceGrid
You'll have to implement the OnPaint Event and do it yourself. Here is an example. You could also check out SourceGrid
这篇关于合并单元格中的DataGridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文