?
Solved

'SqlServerCe' does not exist ?

Posted on 2006-03-26
2
Medium Priority
?
2,367 Views
Last Modified: 2008-01-09
I'm developing a application on Pocket PC with Visual Studio 2005

I use the reference
using System.Data.SqlServerCe;

to use sql server on the Pocket PC OS and I receive the error
The type or namespace name 'SqlServerCe' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)

how can 'SqlServerCe' does not exist in the namespace 'System.Data' ?
anybody can help me?
0
Comment
Question by:huy302
2 Comments
 
LVL 41

Accepted Solution

by:
graye earned 400 total points
ID: 16301370
The clue is in the error message...    "Are you missing an assembly reference"?

... the answer to that question is probably "yes" !

You need to add a reference to your project...   From the Solution Explorer (typically in the upper right-hand corner of the IDE),  click "My Project",  on the list of vertical tabs, click on "References", click the Add button and drill down the list to find "Microsoft SQL Mobile".
0
 

Author Comment

by:huy302
ID: 16308952
oh my, very simple

thanks alot ;)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question