Click here to Skip to main content
15,896,912 members
Articles / Programming Languages / C#

Populate TreeView from Simple "list"

Rate me:
Please Sign up or sign in to vote.
4.40/5 (4 votes)
27 Aug 2012CPOL1 min read 59.2K   1.5K   8  
How to SIMPLY populate TreeView from some sort of "list" variable / object / structure

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C# Express 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TreeViewExample", "TreeViewExample\TreeViewExample.csproj", "{03EDB9F9-1865-4403-B906-8B2335DD0D44}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{03EDB9F9-1865-4403-B906-8B2335DD0D44}.Debug|x86.ActiveCfg = Debug|x86
		{03EDB9F9-1865-4403-B906-8B2335DD0D44}.Debug|x86.Build.0 = Debug|x86
		{03EDB9F9-1865-4403-B906-8B2335DD0D44}.Release|x86.ActiveCfg = Release|x86
		{03EDB9F9-1865-4403-B906-8B2335DD0D44}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Yugoslavia Yugoslavia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions