asp.net c#中的主细节数据网格 [英] Master detail datagrid in asp.net c#

查看:78
本文介绍了asp.net c#中的主细节数据网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在asp.net页面中掌握主数据关系datagrid。我正在使用asp.net中提供的常见数据网格。在网格中,如果父表具有子表,则(+)syambol应作为其中一列显示,单击(+)时,子表数据应显示为datagrid。我已经实现了,但存在可用性和兼容性问题。我所做的代码只能在IE中运行,它在firefox中不起作用。我想要在所有浏览器中运行的方式以及实现此目的的更好方法。



谢谢

解决方案

此处: MSDN:ASP.NET 2.0的GridView示例:在GridView中显示主/明细数据 [ ^ ]



更新:

另外看看这些:

MSDN:演练:创建嵌套的GridView控件 [ ^ ]

CP:可编辑嵌套GridView(多功能一体机) [ ^ ]


http://www.obout.com/grid/aspnet_master_detail_full.aspx [ ^ ]



试试此...

Hi,
I want master detail relationship datagrid in asp.net page. I am using common datagrid available in asp.net. In the grid if the parent table have child table the(+) syambol should be visible as one of the columns and when click on (+) the child table data should be displayed as datagrid. This i have achieved but there are usuability and compatibility issues. The code which i have done works only in IE, it does not work in firefox. I want the way which works in all the browsers and the better way to achieve this.

Thank you

解决方案

Here: MSDN: GridView Examples for ASP.NET 2.0: Displaying Master/Detail Data in a GridView[^]

UPDATE:
Also look at these:
MSDN: Walkthrough: Creating a Nested GridView Control[^]
CP: Editable Nested GridView (All-in-One)[^]


http://www.obout.com/grid/aspnet_master_detail_full.aspx[^]

try this...


这篇关于asp.net c#中的主细节数据网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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