How to use dataset in silverlight

Posted by Venkatesh under Silverlight on 7/7/2011 | Points: 10 | Views : 4483 | Status : [Member] | Replies : 1
Hi,

How to use dataset in silverlight.In my project i am using wcf service and one method it returns dataset.

How to use this dataset in silverlight?

Thanks
Venkatesh.P




Responses

Posted by: Rajesh_a_kumar on: 7/7/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Venkatesh,

Dataset is part of ADO.Net and Silverlight cannot support it. If the WCF service is returning the data set, you may receive it in the form of XML (serialized) at silverlight. However, it is not possible to deserialize to DataSet.

Exposing Dataset (which is .net specific) through a web service is not a standard way of web service development. It may be a good idea to expose the data in a standard data format (simple plain objects).

Regards,
Rajesh

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response