473,586 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TreeView (.NET 2.0) and self-referencing database table

Hi,

Is there any example populating TreeView control from self-referencing
database table?

Table structure:
ID
Item_name
Parent_ID

Thanks

Apr 21 '06 #1
1 1985
Hi,

my article

Display Hierarchical Data with TreeView in ASP.NET 2.0
http://aspalliance.com/732

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

<vo*****@gmail. com> wrote in message
news:11******** *************@u 72g2000cwu.goog legroups.com...
Hi,

Is there any example populating TreeView control from self-referencing
database table?

Table structure:
ID
Item_name
Parent_ID

Thanks

Apr 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1714
by: Shailendra Batham | last post by:
Hey guys I am using the IE Web controls treeview control. I popuplate the treeview with XML and it looks fine........... my question is how can I add a right click popup menu to the treeview control so it shows when a user right clicks a node in the tree. Does any1 have any tips and tricks to enhance the treeview control. thanks,
4
1365
by: Danny | last post by:
I have installed Internet Web Controls locally in my machine, and in our server. I also added them into the toolbox tab in my Visual Interdev and on design layout, I can see the treeview object appears, but not when I run the page from Internet Explorer (means page is accessed in our server). Any ideas how to make this treeview recognized...
0
1155
by: Amir Ghezelbash | last post by:
Hello, I had a question, i am using TreeView provided with asp.net 2.0, greate control..but sadly it dosenot have drag and drop functionality..so i decided to add it my self ..i have worte the javascript that does draging and dropping, but I am having a problem adding this javascript to the treeview.. i think i somehow have to add the...
6
4917
by: L.M | last post by:
Hello, I knew how to use the treeview under VB6. After migrating to .NET, well, I'm lost. I try to add a new node, either to the same level or as a child to a selected node in the treeview. However, either it only add it to the root level or it only add it on level below, doesn't matter what I select. And in some case, I just get an...
4
1370
by: Martin | last post by:
I have a treeview control, which is docked on a panel. When I call the procedure to fill this treeview from the load event it works fine. It loads all nodes, and displays them nicely. However, when I call the very same procedure at a later stage (after a login) then the nodes don't show. I traced with the debugger, and the nodes do get...
0
1252
by: Chris Johnson | last post by:
Good morning. I have recently begun a project using PyGTK, and part of my planned interface has a gtk.TreeView showing a portion of the filesystem. Now, rather than load the entire FS structure into the tree right from the beginning, I made a lazy tree by adding blank children to rows representing directories, and connected a call to fill...
2
1568
by: rolf.oltmans | last post by:
Hello all, I need to place treeview control in Grid control. I need to place it in a grid because I need to show calendar against every node. Is placing a treeview in grid possible? If I need to create my own control that would include capabilities of both treeview and Grid what would I have to do? Being new to asp.net I guess I've to make...
2
1421
by: cypher543 | last post by:
I have a TreeView and a ToolButton. The ToolButton should only be active if the user has selected an item in the TreeView. What signal should I use to achieve this? Thanks, David
1
3738
by: Guillermo Heizenreder | last post by:
Hi list I'm developing a application for learn pygkt, and I need to know when a user selected or clicked one determinate row of my TreeView for shot another signal . Study the tutorial I began to see the explanation that I see in the chapter 14.7. TreeView Signal and found one in particular "select-cursor-row", but I don't understood how...
1
1730
by: sudhir1150602350 | last post by:
hi friends , when my self prog. with vb.net one thing arises in my project , like i hav a form at which treeview control is there so now i want to pring the same treeview structure and if the horizontal or vertical scrollbars occurs than at that time complete tree structure should be printed as usual . so pls help me
0
7911
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8200
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.