asp.net c#中的主细节数据网格

编程入门 行业动态 更新时间:2024-10-25 04:18:29
本文介绍了asp c#中的主细节数据网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

解决方案

此处: MSDN:ASP.NET 2.0的GridView示例:在GridView中显示主/明细数据 [ ^ ] 更新: 另外看看这些: MSDN:演练:创建嵌套的GridView控件 [ ^ ] CP:可编辑嵌套GridView(多功能一体机) [ ^ ]

www.obout/grid/aspnet_master_detail_full.aspx [ ^ ] 试试此...

Hi, I want master detail relationship datagrid in asp page. I am using common datagrid available in asp. 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)[^]

www.obout/grid/aspnet_master_detail_full.aspx[^] try this...

更多推荐

asp.net c#中的主细节数据网格

本文发布于:2023-11-23 01:43:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1619656.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网格   细节   数据   asp   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!