>Hi,
>
>What type of property or member in a class I should/could use to populate values from and XML file of the following (sample) content:
>
>
><?xml version="1.0" encoding="utf-8" ?>
><rules>
> <field>
> <fld_name>ColumnName1</fld_name>
> <def_value></def_value>
> <req_entry>True</req_entry>
> </field>
> <field>
> <fld_name>ColumnName2</fld_name>
> <def_value></def_value>
> <req_entry>False</req_entry>
> </field>
></rules>
>
>
>I should be able to later to scan through the values of this member (array or list or whatever) checking the values.
>
>TIA.
>
>Update: Just as I posted this message I thought about loading this XML into a dataset member of the class. Unless someone suggests a better approach, I think I will go with a dataset.
Probably I didn't understand your question. I would simply use Linq to XML.
Cetin