Click here to Skip to main content
16,006,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get Xml file data to dataset....Plz help me its urgent
Posted
Updated 25-Jun-12 20:28pm
v2
Comments
Sandeep Mewara 26-Jun-12 3:11am    
why a repost: http://www.codeproject.com/Questions/410376/how-can-i-export-data-from-datagridview-to-xml-fil

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[^]
 
Share this answer
 
do like this

VB
dim ds as dataset =  new dataset ()
ds.readXML (C\\Desktop\\Abc.xml)
 
Share this answer
 
Comments
[no name] 26-Jun-12 2:29am    
thanks for ur kind help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900