Click here to Skip to main content
15,920,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
have a tree view and a grid view on a page. Im populating the tree view from sql data base.Now I want to populate the grid view based on the child node clicked of the tree view.
My data base structure is as below
table child cat with columns SID & name :- this is the table from where im getting child nodes.
Table Product with columns SID PID name :- this is the table from where i need to populate grid view depending on the SID ie. child node from tree view.
Plz tell how to achive this...
Posted

You'd do a postback, work out the value that was clicked, load the data from the DB and bind it to the grid.
 
Share this answer
 
I have written the code to populate the grid view in page load event.
Im new to dot net can you plz elaborate.
 
Share this answer
 

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