Help With Better Databinding
I get an array of Document objects from a web service call. Each Document object has an array of Property objects. Each Property object has two properties, Name and Value. Such as
<Property Name="Title" Value="Test Title">
<Property Name="Category" Value="Test Subject">
My question is this, what is the best method for changing this array of Document objects into a bindable data source for a datagrid. In the past I've done the following, serialize the object to xml and run an xsl transformation on it to make the below xml and then read that xml into a datatable. I'm looking for a better way to make the Documents array bindable. Can I get some suggestions please?
Last edited by AgentSmith; March 7th, 2009 at 09:11 PM.