SqlCeDataAdapter.Fill() missing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I develop a application for Windows CE with SqlCE database.
So I reference
System.SqlServerCe and System.Data

A part of my code is :
DataSet ds = new DataSet("MyDataSet");
SqlCeConnection sqlConn = new SqlCeConnection("MyConnectionString");
SqlCeDataAdapter da = new SqlCeDataAdapter();
da.SelectCommand = new SqlCeCommand("MySQLString", sqlConn);

and then, I can't find the method
..Fill() for the DataAdapter

I'd like to precise that it works fine with a classic Widows application.
thanks for help.
(I hope the question is in the good discussion group)
Herve
 
Please clarify what do you mean by "can't find". You sure can type it,
right? If you do, would it compile? Would it run?


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Hello

Did you have taken the reference of System.Data.Common.

The Adapter class resides in this library.

Thanks & Regards
Vikash
 
Back
Top