I am making a RIA application using Silverlight and web services. The method of a web service returns a DataSet (a classic ASP.NET DataSet which is found in system.data).
How can I bind a DataGrid of Silverlight with the DataSet which is returned by the Web service?
Dataset is not supported in SL. If You have fixed datasource then you can create data contract (property class) and transfer data by observable collection which you can easily bind with your datagrid.
But if you want something generic which you would like to bind with your SL Datagrid then in that case you have to create Collection of collection
and then you have to create anonymous type with
reflection.emitin SL application which you can bind with your SL Datagrid.