如何在C#Windows窗体中使用Dom方法将Treeview数据插入到Xml文件中 [英] How Do I Insert The Treeview Data Into Xml File Using Dom Method In C# Windows Form

查看:92
本文介绍了如何在C#Windows窗体中使用Dom方法将Treeview数据插入到Xml文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用xml文件填充了我的treeview,现在我需要使用c#winforms中的dom方法将该树视图数据存储到另一个xml文件中。

解决方案

参考下面的代码项目文章:

使用XmlTextWriter和XmlTextReader将TreeView控件加载并保存到XML文件中[ ^ ]



C# - TreeView导出到Xml或从XMl导入 [ ^ ]

I already populated my treeview with an xml file now i need to store that treeview data into another xml file using dom method in c# winforms....

解决方案

refer below codeproject article:
Loading and Saving a TreeView control to an XML file using XmlTextWriter and XmlTextReader[^]
and
C# - TreeView Export To Xml OR Import from XMl[^]


这篇关于如何在C#Windows窗体中使用Dom方法将Treeview数据插入到Xml文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆