Thema: Delphi Treeview with databse

Einzelnen Beitrag anzeigen

mijack

Registriert seit: 18. Mai 2007
11 Beiträge
 
Delphi 2007 Enterprise
 
#1

Treeview with databse

  Alt 15. Jul 2007, 11:36
Hi all
i have a Table and i want to populate a treeview from this Table .
Let me suppose the following :
In my table i have :
Name:String ;
First_Name :String;
Age : Integer;
Adr :String;
City :String;
Steet :String ;
so i want to load this from my Table into the TreeView like this :

Contact ( as the Parent )
|_Name
|_First_Name
|_Age
|_Adr
|_City ( Child of Adr )
|_Street ( Child of Adr )

how can i do this .

thanks
  Mit Zitat antworten Zitat