在asp.net windows窗体中的一个Datagridview内的Datagridview [英] Datagridview inside one Datagridview in asp.net windows form

查看:88
本文介绍了在asp.net windows窗体中的一个Datagridview内的Datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net windows窗体中的一个Datagridview内的Datagridview请给我任何样本

Datagridview inside one Datagridview in asp.net windows form Please Give me Any sample

推荐答案

您几乎都在寻找嵌套的datagridviews。以下是一些链接供您查看:



* 使用c#(DataGridView中的DataGridView)在Windows窗体中嵌套DataGridView [ ^ ]

* HierarGrid - 显示主 - 细节关系的分层DataGrid [ ^ ]

* 具有分层数据绑定的DataGridView [ ^ ]


- 或者 -



您可以在特定的单元格中使用DataGridView编写自定义DataGridVewColumn希望它被显示出来。 CP中有一个示例,它在DataGridView单元格中使用了颜色选择器组合框。

如何在Windows窗体DataGridView单元中托管拾色器组合框 [ ^ ]



祝你好运,

OI
You are pretty much looking for nested datagridviews. Here are some links for you to take a look:

*Nested DataGridView in Windows Forms using c# ( DataGridView within DataGridView)[^]
*HierarGrid - A hierarchical DataGrid that displays master-detail relations[^]
*DataGridView with hierarchical data binding[^]

-- OR --

You can write a custom DataGridVewColumn with DataGridView in a specific cell where you want it to be shown. There is a sample here in CP which uses a Color Picker ComboBox in DataGridView cells.
How to Host a Color Picker Combobox in Windows Forms DataGridView Cells[^]

Good luck,
OI


这篇关于在asp.net windows窗体中的一个Datagridview内的Datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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