4
Answers

how to save a xml file into listbox in C#

raju patil

raju patil

10y
951
1
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfMyObject xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<myObject>
<Column1> amar </Column1>
</myObject>
<myObject>
<Column1> pradeep </Column1>
</myObject>
<myObject>
<Column1> rahul </Column1>
</myObject>
</ArrayOfMyObject>
 
 
 
 
 
 
in above xml file i want to retrieve  only the column1 values in listbox. could someone please tell me how to do it , i m new to C#

Answers (4)