Click here to Skip to main content
15,896,063 members
Articles / Web Development / ASP.NET

Dynamic Binding Of Hierarchy Data Structure To Treeview Control

Rate me:
Please Sign up or sign in to vote.
4.88/5 (23 votes)
29 Dec 2010CPOL3 min read 170.6K   5.7K   42  
The article provides a code base for implementing dynamic hierarchical data structure with ASP.NET Treeview control
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:TreeView ID="tvHierarchyView" ForeColor=Black    ShowLines=true   runat="server">
        </asp:TreeView>     
    </form>
</body>
</html>

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
Technical Lead
Australia Australia
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com

Comments and Discussions