Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

to populate a treeview by getting the data from the database

i have threee tables

table1: Maincountry

columns: id,Countryname

 

table2: Country

columns: country,state

 

 

table2: State

columns: state,cities

 

i want the tree view to be like this

 

-country1

-State1

-city1

-city2

-state2

-city1

-city2

-country2

-State1

-city1

-city2

-state2

-city1

-city2

 

what is to be done i want the code please its urgentttttt

 

thanks in advance

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...