Click here to Skip to main content
15,898,747 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In Window application 3.5
i filled treeview from database.i accessed treeview
on onther page...but my problem is that when i access on onther page at that time treenode count is zero...i want to access the previously filled node ...
Posted

1 solution

If I were you, I'd try to avoid coupling between your forms or your different classes. Make a "previouslyFilledNode" property in the class where you need the info and fill it before showing the new form.

Make sure to minimize coupling between your classes.
 
Share this answer
 
v2
Comments
amitthakkar1987 23-Sep-10 0:53am    
right now i solved the previous problem..but now i want to delete a node of previous page on click event of current page..

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