如何将Xml文件数据获取到数据集 [英] how to get Xml file data to dataset
本文介绍了如何将Xml文件数据获取到数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将Xml文件数据获取到数据集....Plz帮助我它紧急
how to get Xml file data to dataset....Plz help me its urgent
推荐答案
参考:
使用Visual Basic .NET将XML数据读入数据集 [将XML数据读取到数据集中 [数据集简介和使用XML文件 [^ ]
另一篇好文章:
如何使用ADO.NET-数据集在VB.NET中读取XML文件 [^ ]
Refer:
Read XML Data into a DataSet by Using Visual Basic .NET[^]
This following thread will consist of five main steps:
-Create a new Visual Basic or Visual C# project.
-Create an XML file to be read into the dataset.
-Create the user interface.
-Add code to create the dataset, read the XML file, and display it in a DataGrid control.
-Add code to display the XML Schema based on the XML file in a TextBox control.
Reading XML Data into a Dataset[^]
This article gives you an introduction to .NET''s DataSets and how you can use them with XML files
Introduction to DataSets and working with XML files[^]
Another good article:
How to read an XML file in VB.NET using ADO.NET - Dataset[^]
像这样
do like this
dim ds as dataset = new dataset ()
ds.readXML (C\\Desktop\\Abc.xml)
这篇关于如何将Xml文件数据获取到数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文