10+ Methods in my WCF webservice returns an object of type DataSet
public System.Data.DataSet ReturnData()
{
DataSet dataSet = new DataSet();
//do some work on the dataset
return dataSet;
}
I want to consume this WCF webservice in my silverlight application.
Problem: DataSet is not resolved as System.Data.dll does not appear in the Silverlight application’s add reference section.
Is there a workaround or a solution?
Take a look on DataSet for Silverlight Applications
But I advise you to write this into classes
Edit:
To show you how you can use instead of the classe, I give you an example
.
.