ILIST and Datagrid

  • Thread starter Thread starter Oliver Drobnik
  • Start date Start date
O

Oliver Drobnik

Hi,

I have an XML Document. I tried to create a wrapper class to expose an
IList Interface to expose certain records in the XML Document as List,
so that I can bind a datagrid to this.

Binding seems to work, but how can I dynamically create an object that
has all the properties that I want from the xmlnode I am returning. I
think I need to dynamically create a class with the correct property
members. But how do I do that?

regards
Oliver Drobnik
 
It seems you need a dataset. Try loading one from the XML file. See DataSet.ReadXM

Michael
 
Back
Top