search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Operating SystemsArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

View Other Visual Studio .NET Posts   Ask New Question 
How to add dynamic node in treeview control?
Anil Desai posted at Friday, May 04, 2007 12:15 AM
here i want to create treeview control dynamically.

 
TreeNode node = new TreeNode()
Robbe Morris replied to Anil Desai at Friday, May 04, 2007 8:37 AM

TreeNode node = new TreeNode();

TreeNode childNode = new TreeNode();

node.Nodes.Add(childNode);

myTreeControl.Nodes.Add(node);

 
thanks robbe. need more help pls.
Anil Desai replied to Robbe Morris at Monday, May 07, 2007 12:53 AM
here i want fetch childnode text from database and also showing if childnode is file then displaying icone for that file and if childnode is folder then display folder icone. pls help me.