如何在datagridview中向单个单元格添加多行? [英] how to add multiple rows to a single cell in datagridview?

查看:75
本文介绍了如何在datagridview中向单个单元格添加多行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在一行datagridview中显示学生姓名,注册表,sem和科目。

我该怎么办?

解决方案

< blockquote>您可以在数据网格视图中显示与单个单元格(多行)中的用户相关的个人资料列表。

请参阅代码项目中的这篇文章..



如何合并单元格GridView中的值 [ ^ ]


i want to display student name, reg, sem and subjects in one row of datagridview.
how can i do that?

解决方案

You can display profile list related to user in single cell(multiple rows) in a datagridview ..
see this article from Code Project..

How to merge cells with equal values in a GridView[^]


这篇关于如何在datagridview中向单个单元格添加多行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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