Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had created a treeview from sql database using c#.Now needed to show grid view suitable for selected node.

****How can bind data in to grid view based on selected node?
Posted
Comments
[no name] 30-Jun-11 3:15am    
if possible put What you have did till now.

1 solution

Do you want to load data depending on selected node or just filter the data?
Just get the selected node's value TreeView1.SelectedNode.Value, and load/filter data as required.
 
Share this answer
 
Comments
ahmed559 30-Jun-11 3:24am    
pls give me example ...
Mallesh2000 1-Feb-12 0:14am    
Hi,
I am trying to bind treeview node inside the asp.net grid view and parent node and child node grid column are same. so plz help me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900