'SqlServerCe' does not exist ?

Posted on 2006-03-26
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?
Question by:huy302
    LVL 41

    Accepted Solution

    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".

    Author Comment

    oh my, very simple

    thanks alot ;)

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    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…
    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now