如何在数据库中读取和写入样本数据的Xml文件 [英] how do read and write Xml file for sample data in database
本文介绍了如何在数据库中读取和写入样本数据的Xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨所有
在我的程序中,我使用了csharp并访问
我需要用数据填充数据库我的客户....
最简单的方式
我该怎么办?
请帮帮我
非常感谢
hi all
in my program that i used csharp and access
i need to fill database with sample data for my custoer ....
simplest way please
how do i it ?
please help me
thanks a lot
推荐答案
使用XmlReader类。此类通过提供对XML数据流的只进,非缓存访问,提供了读取和解析XML数据的最快且耗费内存最少的方法。如果在访问XML时需要随机访问,请使用XmlDocument类。
Use XmlReader class. This class provides the fastest and least memory-consuming means to read and parse XML data by providing forward-only, non-caching access to an XML data stream. If random access is required when accessing XML, use the XmlDocument class.
这篇关于如何在数据库中读取和写入样本数据的Xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文