SqlDbType not available.....

  • Thread starter Thread starter Manni
  • Start date Start date
M

Manni

Hi - please help!!!

I started a new project (PPC winApp) - and tried to use the
System.Data.SqlDbType enumeration!
I try System.Data.SqlDbType - but autosense does not show it!

An when I type it by hand - the compiler argues, that it does not find it!!

In older project I get it listed and it works!!!
But not with the new ones!!!

I applied SP1 to my CF files (also in VS.NET programms directory) - is that
the problem??
When I build a desktop app - it works!!!

Please help!!!!

Manfred
 
You'll need to ensure that the right DLL reference is included - it's
either System.Data or System.Data.Common - can't remember which one.

Paul
 
This ref is included!!!

Since the type is System.Data.SqlDbType I had to ref System.Data.

This dll is referenced by default!!!

Furhter information: the version of the dll is 1.0.2268.0.
This version is the same for all dlls in
......CompactFrameworkSDK\v1.0.5000\Windows CE where VS
references his DLLs.

Manfred
 
SHAME on me..............

You are 100% right!!!!

Since it is System.Data.Sql..... I didn't event try to include
System.Data.Common!!!

But thanks to your help - I gave it a try!!!!

And after that System.Data.Sq.... works!!!
Somehow confusing - seem in System.Data.Common are extension for the
System.Data namespace!!!!!


Thanks a lot

Manfred
 
Back
Top