saving treeview changes back in database
-
i m making a windows application and using treeview control. i m making the treeview from database. after doing the editing in text of treeview node. i want to save the changes back in the database. how can i do that? thanx n regardz kapil
-
i m making a windows application and using treeview control. i m making the treeview from database. after doing the editing in text of treeview node. i want to save the changes back in the database. how can i do that? thanx n regardz kapil
The same way you built the treeview from the database. You'll have to walk through each node in the TreeView and build the appropriate SQL statements to update your database properly. There is no standard method to do this. Everything, including tracking which nodes go where, depends entirely on the capabilities you've built into your database.
Dave Kreskowiak Microsoft MVP - Visual Basic