Mangesh barmate

Mangesh barmate

  • NA
  • 118
  • 136.3k

How to process XML data into collection in c#.NET?

Jan 27 2013 12:23 AM
Hi,
 
In my sql table one of column having XML column which hold data in xml format.
 
I want to fetch that sql table xml column data into c# code, stored it into string variable. once i store it into string variable i want to store all xml attribute key and value into Collection.
 
Note-->
XML column data available in below format
<customer>
<pri_one>1</pri_one>
<cust_name>A</cust_name>
</customer>
 

How i achieve it in c#.net?
 
Please suggest any one approach!

Answers (1)