I use a Webservice, which retun a DataSet.
I use the code:
DataSet ds = (DataSet)wsHealth.GetSchools(Text1.Text);
But it result in an error in run time, the error message is
Unable to cast object of type 'System.Data.DataSet' to type 'DataSet'.
The namespaces I used are
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
Is there an namespace rather than System.Data which also contail DataSet?