如何合并数据网格视图中的单元格?最简单的方法,没有绘制细胞 [英] How to merge cells in a data grid view? the simplest method without painting cells

查看:78
本文介绍了如何合并数据网格视图中的单元格?最简单的方法,没有绘制细胞的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在数据网格视图中合并单元格?最简单的方法,没有绘制细胞。我想要这样的东西:

How can I merge cells in a data grid view? the simplest method without painting cells. I want t have something like this:

Item 1    a
          b
Item 2    a 
          b

推荐答案

这可能会有所帮助: MergedDataGridView Control [ ^ ]。是的,它是VB.NET,但由于它是一个组件,您可以在您的应用程序中使用它。请阅读许可条款。



绘画 [ ^ ]也不是那么复杂......
This might be helpful: MergedDataGridView Control[^]. Yes, it is VB.NET, but as it is a component, you can use it in your application. Please read the license terms.

But painting[^] is also not that complicated either...


这篇关于如何合并数据网格视图中的单元格?最简单的方法,没有绘制细胞的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆