Hi everyone, I am going to try and not let this be long and drawn out. I just started using C# about one week ago. I am trying to write an app for myself that uses a treeview and sqlite. But while searching for examples these last few days, I have come up with some examples that are like way way over my head.

I am looking for something simple. This is what I would like to do. I want to have a treeview with many nodes, also with information attached to each node. I found this almost perfect example at this site: http://www.java2s.com/Code/CSharp/GUI-Windows-Form/TreeViewDataBinding.htm the problem is, it uses an xml file. And it does not do and saving to the xml file, or delete nodes etc.

Does anyone have any sample code that shows how to do the following in C# using a treeview.

1. Store the treeview to a sqlite db no matter how deep the node structure is
2. Restore the treeview from the sqlite db?

Thanks, I do appreciate this.


9 Years
Discussion Span
Last Post by Ramy Mahrous
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.