Posted
on Feb 3, 2012
(permalink)
Please help. Ive tried creating an ObservableCollection<GridRow> and inserting or adding the rows and that didnt work. Ive also looked at these three places
http://blogs.telerik.com/vladimirenchev/posts/09-04-23/lightweight-datatable-for-your-silverlight-applications.aspx
http://blogs.telerik.com/vladimirenchev/posts/11-09-28/dynamic-binding-for-your-silverlight-applications.aspx
http://www.telerik.com/community/forums/silverlight/gridview/binding-dynamic-xml-to-the-gridview.aspx
and none of them have been able to help. I tried to use the second one but is says there no such class as System.Dynamic, and it finds errors all over the place with "IEnumerable<String>, GetDynamicMemberNames(), TryGetMember(GetMember binder...,[binder.Name];, TrySetMember(SetMemberBinder....,ObservableCollection<dynamic> collection;" they all give me errors.
Just as clarification, Im getting dynamic XML with a different number of 'column' or xml elements, every time, so I cant create a class for it and I assuming I need a dynamic class.