System.Data.Common for Smartphone

  • Thread starter Thread starter Bengt Gunne
  • Start date Start date
B

Bengt Gunne

Hi,

I am wondering if there is a System.Data.Common for the Smartphone 2003?
In the Smartphone 2003 SDK there is only a System.Data.dll. I am using
DbDataAdapter, RowUpdatedEventArgs, RowUpdatingEventArgs classes that
are in the System.Data.Common.dll.

Thanks
Bengt
 
You can manually add a reference to the dll to your project - but you'll
have to browse to the main NETCF folder since it's not installed to the
Smartphone folder. Subject to your installation you should look here:-
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE

Peter
 
Thank you for your reply!

I have actually tried to add this file. When I did, Visual Studio warned
about adding dlls that were not intended for the Smartphone (but I could
add the reference anyway). When I could not subsequently deploy my
program to the Smartphone emulator I assumed it was because this dll was
not ok to reference.

Maybe my deployment problem (I am only getting the error message:
"Error: The operation could not be completed") has nothing to do with
the dll. I will try and isolate the two.

Bengt
 
I had a reference to one of my own dll:s where the deployment device for
this dll was set to "Pocket PC Device". When I changed this to "Same as
device of consuming project" it started working!

Peter, thanks for your help!

Bengt
 
Back
Top