如何在C#中为ASP.net创建树视图 [英] How to create a treeview for ASP.net in C#

查看:85
本文介绍了如何在C#中为ASP.net创建树视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何在ASP.net c#中创建 binary 树形视图.我想为我的项目在此链接中构建一棵树.链接为 http://demo.essentialobjects.com/Demos/TreeView/Demo.aspx [ ^ ]

在左侧站点上,有一个 binary 树结构,为此我必须用C#编写ASP.net的代码.

因此,请告诉我如何为此创建 binary 树.

提前谢谢!


添加了此问题的转发后的链接!
[/Edit]

Can someone please tell me how to create a binary treeview in ASP.net c#. I want to build a tree like in this link for my project. The link is http://demo.essentialobjects.com/Demos/TreeView/Demo.aspx[^]

On the left hand site there is a binary tree structure for which I have to write code for ASP.net in C#.

So please tell me how to create a binary tree for that.

Thanks in advance!


Added the link from the repost of this question!
[/Edit]

推荐答案

由于您对问题的阐述不明确,因此您没有收到任何有用的信息.首先,您因发布非功能性链接而失败,而您因认为可以发布另一个问题而失败.从您重新发布的链接中,您可以轻松地看到您正在寻找的是树状视图.该词在URL中.

无论如何,这是 ASP.NET TreeView控件的MSDN信息. [ ^ ].

这是一个教程: http://www.brainbell.com/tutorials/ASP/TreeView.html [^ ].

在CP上查看此处:编写的简单二进制搜索树在C# [ ^ ].

或此处: http://www.dijksterhuis.org/implementing-a-generic- binary-tree-in-c/ [ ^ ]

并不要忘记在这里: http://www.smokycogs .com/blog/an-implementation-of-a-binary-tree-in-c-sharp/ [ http://msdn.microsoft .com/en-us/library/ms379573(v = vs.80).aspx [
Since you didn''t frame your question well you did not receive any useful information. First you failed by posting a non functional link and the you failed by thinking you could just post another question. From the link in your repost you could have easily seen that what you are looking for is a treeview. That word is in the URL.

Anyhow here is the MSDN information for the ASP.NET TreeView control[^].

Here is a tutorial: http://www.brainbell.com/tutorials/ASP/TreeView.html[^].

See here on CP: A simple Binary Search Tree written in C#[^].

or here: http://www.dijksterhuis.org/implementing-a-generic-binary-tree-in-c/[^]

and not to forget here: http://www.smokycogs.com/blog/an-implementation-of-a-binary-tree-in-c-sharp/[^].

Let''s see what the Microsofties have: http://msdn.microsoft.com/en-us/library/ms379573(v=vs.80).aspx[^].


That should just about do it. Any doubts left?

Regards,

Manfred


http://hectorcorrea.com/Blog /Binary-Tree-in-C-Sharp [ ^ ]


http://blog.rajneeshverma .com/rajneesh/blog/post/2011/11/08/Binary-Tree-Diagram-in-ASPNET.aspx [
http://hectorcorrea.com/Blog/Binary-Tree-in-C-Sharp[^]


http://blog.rajneeshverma.com/rajneesh/blog/post/2011/11/08/Binary-Tree-Diagram-in-ASPNET.aspx[^]


这篇关于如何在C#中为ASP.net创建树视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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