Hi All
I start program for a library and I have to use Treeview and Access DataBase
I find methode to load database to treeview but the problem is save changes
after I run program Access Database load to treeview and I edit tree but how I can save changes before I close program ????
thank you

I would suggest the following:

When loading the tree view, add the relevant info to find the right record to update (if changed) like the record primary key (or even the full record), into the tag property of the node.

When the node is changed, you can use the info stored on the tag property to cread a command against the database connection, to update the info in the database, and then execute this command.

Hope this helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.