How can I match data to be inserted into my ComboBox in C#

GaNgI

New Member
\[code\]<root> <Bathing> <Id>San100</Id> <name>Santoor</name> <AvailProducts>30</AvailProducts> <Cost>20.00</Cost> </Bathing> <Bathing> <Id>Det123</Id> <name>Dettol</name> <AvailProducts>30</AvailProducts> <Cost>15.00</Cost> </Bathing> <Bathing> <Id>Rex123</Id> <name>Rexona</name> <AvailProducts>30</AvailProducts> <Cost>16.00</Cost> </Bathing></root>\[/code\]I am new to C# and XML. Here I am using XML as a data table.How can I insert only Name elements into my \[code\]ComboBox\[/code\]?
 
Back
Top