Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Auto Binding a TreeView control from a self referencing table

, 16 Apr 2007
A Custom TreeView Control that supports auto binding from a single self referencing table
autobindingtreeviewvb_src.zip
AutoBindingTreeViewVB_src
App_Code
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="DataBind.aspx.vb" Inherits="DataBind" %>
<%@ Register TagPrefix="CPArticles" Namespace="CPArticles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Auto - Binding TreeView</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <CPArticles:AutoBindingTree 
            id="TestCtrl" 
            runat="server"
        />
    </div>
    </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)

Share

About the Author

Bassam Saoud
Software Developer (Senior) Delcan Corporation
United States United States
Bassam Saoud is a software developer with more then 6+ years of experience. He has masters in Computer Science from American University of Technology and is currently doing Masters in Business Administration at Colorado Heights University. He started Programming with C++ and VB and now working with ASP.NET VB.NET/C#, SQL Server 2000/2005.
 
His interests are mainly politics, Basketball and Traveling.

| Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 16 Apr 2007
Article Copyright 2007 by Bassam Saoud
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid