Click here to Skip to main content
14,387,866 members
Rate this:
Please Sign up or sign in to vote.
hi guys,


how can i read a specific node from 4 node in xml and store its element in dataset or arraylist.

thanks
Posted
Comments
Prerak Patel 9-Sep-11 4:44am
   
Sample xml?
Rate this:
Please Sign up or sign in to vote.

Solution 1

You might want to look into XLINQ. Start here:

Reading XML documents using LINQ[^]

.NET Language-Integrated Query for XML Data[^]

These are not LINQ to XML (or XLINQ) specific, but give you a lot of examples using LINQ in general:

101 LINQ Samples[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

I would start reading the documentation: "Using the XmlReader Class"[^].
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100