如何使用ASP.NET显示Hierrarichal树结构? [英] How To Display Hierrarichal Tree Structure Using ASP.NET ?

查看:65
本文介绍了如何使用ASP.NET显示Hierrarichal树结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用ADO.NET显示树结构. SQL Server ??

I want to display the tree structure using ADO.NET & SQL Server ??

推荐答案

ADO.NET和SQL Server与显示层无关,因此无法正常工作.树控件将XML作为数据源AFAIK,因此,您需要做的是从数据库中获取XML,然后使之成为树控件的数据源.

此处 [
ADO.NET and SQL Server have nothing to do with the display layer, so that does not work. The tree control takes XML as a data source AFAIK, so what you need to do, is get XML back from your database, then make that the data source of a tree control.

Here[^]


这篇关于如何使用ASP.NET显示Hierrarichal树结构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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