TreeView control has a
SelectedNodeChanged event. Youcan save
thetable
nameas
the Value or Text for
eachnode, and inthe
eventhandler
getsthe
valueas the selected table(a
queryparameter), then save the message or display information that you want to.
If I have misunderstood your concerns, don't hesitate to let me know.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
swaiss
Member
433 Points
205 Posts
popualte a tree view from DataTable
May 06, 2012 12:14 PM|LINK
Hi,
i have a map, when the user select a continent, the continent's information will be stored in a table.
the table name will be as same as the continent name.
and when the user select more than one continent, every continent's information will be stored in different table.
i want to make a TreeView with a node for each table, and when the user click on the node, the information will be populate in a gridview.
Frank Jiang ...
All-Star
16006 Points
1728 Posts
Microsoft
Re: popualte a tree view from DataTable
May 08, 2012 11:51 AM|LINK
TreeView control has a SelectedNodeChanged event. You can save the table name as the Value or Text for each node, and in the event handler gets the value as the selected table(a query parameter), then save the message or display information that you want to.
If I have misunderstood your concerns, don't hesitate to let me know.
Feedback to us
Develop and promote your apps in Windows Store