Click here to Skip to main content
16,016,605 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
from1 i have treeview which is populated from sql common table structrure(CTE)
and from2 i have combobox and textbox and two button.
one button save the recored in the sql table and other button name is close.

when i selected the parentid and parentname from combobox and enter his child in the textbox saving to sql
after i closed the button from1 treeview should populate.

how to do from from2 to from1 treeview update from sql.


i have to update treeview from from2 to from1.
Posted
Updated 1-Mar-12 23:50pm
v2
Comments
jai000 2-Mar-12 5:12am    
when i selected the parentid and parentname from combobox and enter his child in the textbox.
after this, are you saving data to database table?
sadhana4 2-Mar-12 5:49am    
yes i am saving data in databse

1 solution

set treeview as public in forms1. Forms2 can then do an update
 
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