How to use treeView to save the directory tree into the SQL Server database ? RRS feed

  • Question

  • I am making a small example of adding, editing, deleting and saving the treeView directory tree into the SQL Server database, what must I design to store in the database and write code ?
    Monday, June 10, 2019 1:57 AM

All replies

  • Hi lamtriendong,

    What are the child nodes in your treeview? How are they distributed? Which fields do they correspond to in the database? For updating data to the database, you can refer to the document "ADO.NET Overview".

    I think much more information will be more efficient.



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, June 10, 2019 3:26 AM