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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top