如何在数据库中读取和写入样本数据的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.