Does Silverlight support DataSet?
By Santhosh N
This explains if Silverlight supports DataSet and the reasons for supporting/ not supporting.
Silverlight does not support DataSet to be consumed with in Silverlight Application. To accomplish this, one need to transform serialized
DataSet XML to certain Collection type and then consume this.
This is the alternate solution that helps to consume the DataSet in Silverlight:
And, now coming back to the reason for not including the DataSet support in Silverlight
are quite a few as mentioned in Silverlight forums:
1) If DataSet needs to be
provided in Silverlight which is client side it needs to include System.Data.dll
which is quite huge (almost more than 2 MB in size). Hence, to reduce the Silverlight
runtime to low, this may not be included in future releases.
2) The Data
Binding model in Silverlight which is subset of WPF is very different from that
of Windows Forms and ASP.NET which is one more major reason for not implementing
System.Data as performance will degrade
Related FAQs
This explains how to troubleshoot the deployment issues of WCF access after deploying the Silverlight sites on IIS
This explains the difference between the different versions of the Silverlight
Does Silverlight support DataSet? (1683 Views)