R
Roman Moiseenko
Hi!
I'm developing application for Symbol MK 2000 based on Windows CE.NET 4.1.
My app using web method returning DataSet. After I calling this web method
app throw PlatformNotSupportedException.
But exact application running on Symbol MC 50 (based on Windows Mobile 2003)
works fine. What difference?
[WebMethod]
public DataSet Select()
{
DataSet ds = new DataSet();
SqlConnection cn = new
SqlConnection(@"server=MRA\DKEKB017;uid=sa;pwd=mssql;database=DKLink");
SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM test", cn);
da.Fill(ds, "test");
return ds;
}
in app I use this code:
localhost.Service1 s = new SmartDeviceApplication1.localhost.Service1();
s.Url = "http://mra/WebService/Service1.asmx";
DataSet ds = s.Select();
after this I get exception
I'm developing application for Symbol MK 2000 based on Windows CE.NET 4.1.
My app using web method returning DataSet. After I calling this web method
app throw PlatformNotSupportedException.
But exact application running on Symbol MC 50 (based on Windows Mobile 2003)
works fine. What difference?
[WebMethod]
public DataSet Select()
{
DataSet ds = new DataSet();
SqlConnection cn = new
SqlConnection(@"server=MRA\DKEKB017;uid=sa;pwd=mssql;database=DKLink");
SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM test", cn);
da.Fill(ds, "test");
return ds;
}
in app I use this code:
localhost.Service1 s = new SmartDeviceApplication1.localhost.Service1();
s.Url = "http://mra/WebService/Service1.asmx";
DataSet ds = s.Select();
after this I get exception