Hi,
Below is the clear description.
I am using treeview and also binding with data relation.
But, i am getting error in the data relations. i am deleted the code and i want to use new code..
I have 3 tables
Table :A (Column : FamilyID,FmailyName)
---------
Data is below
-------------
1 A
Table :B (Column : FamilyID,LocationID,LocationName)
---------
Data is below
-------------
1 1 Singhur
1 2 Rampur
1 3 Rajpat
Table :C (Column : LocationID,PlaceID,PlaceNameName)
----------
Data is below
-------------
1 1 AAA
1 2 BBB
1 3 CCC
2 4 DDD
2 5 EEE
My overall view data is below
------------------------------
FamilyID FmailyName LocationID LocationName PlaceID PlaceNameName
-------- ---------- ---------- ------------ ------- -------------
1 A 1 Singhur 1 AAA
1 A 1 Singhur 2 BBB
1 A 1 Singhur 3 CCC
1 A 2 Rampur 4 DDD
I want to display my data in treeview like below..
A
|____Singhur
|____AAA
|____BBB
|____CCC
____Rampur
The above format i want to display in treeview dynamically..
How to do this..?
Pls. help.. i am trying last 5 hrs....