MS SQL Server
  Home arrow MS SQL Server arrow Developing SQL Server CE based Pocket PC A...
Moblin
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Developing SQL Server CE based Pocket PC Applications using Visual Studio.NET
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 18
    2006-05-17

    Table of Contents:
  • Developing SQL Server CE based Pocket PC Applications using Visual Studio.NET
  • Installing SQL Server CE onto a Pocket PC emulator: developing the application
  • Installing SQL Server CE onto a Pocket PC emulator: deploying the application
  • Where did the installation actually take place in the Pocket PC?
  • Creating an SQL Server CE database programmatically

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!

    Developing SQL Server CE based Pocket PC Applications using Visual Studio.NET


    (Page 1 of 5 )

    This article focuses on installing, working with and developing SQL Server CE based applications using a Pocket PC emulator with Visual Studio.NET 2003.
    A downloadable file for this article is available here.

    It is suggested that you download and install the Pocket PC 2003 SDK (available free) and the additional most recent Pocket PC emulators from the Microsoft website (as I use them in this article).

    I already contributed an introductory article on developing Pocket PC applications using Visual Studio.NET 2003 right here. If you are new to mobile application development (or confused by Windows mobile, smart phone, Windows CE, Pocket PC and so on), I strongly suggest you go through the previous article before proceeding further.

    What is Microsoft SQL Server CE and how is it installed?

    In my previous article, I introduced you to developing simple applications using a Pocket PC emulator with Visual Studio.NET 2003.  In this article, I would like to introduce Microsoft SQL Server CE using a Pocket PC emulator.

    In general, to work with Microsoft SQL Server 2000, we need to buy it (unless it is MSDE), install it and configure it.  It is not a complex task for a development environment.  But if we are going to deploy our applications on Microsoft SQL Server 2000 for a production environment, we need to consider several issues (like high availability, security, performance, load balancing, and so on).  Depending on the complexity, we need to hire suitable SQL Server experts (or simply DBAs).

    Coming to Microsoft SQL Server CE, do we really need expert DBAs? Can we do it on our own?  To answer the above questions, we need to understand the real scenario.  Microsoft SQL Server CE (or Compact Edition) is a scaled down version of Microsoft SQL Server 2000 and is specially designed to fit within almost any Windows Mobile.  It is not as complex as the standard Microsoft SQL Server 2000. 

    Any developer who is familiar with Query Analyzer in Microsoft SQL Server 2000 can easily work with Microsoft SQL Server CE (as it has its own scaled down version of Query Analyzer).  Installing Microsoft SQL Server CE onto a Pocket PC (or emulator) is very easy. 

    Simply develop a Microsoft SQL Server CE based application for Pocket PC using Visual Studio.NET 2003 and execute (which itself deploys) the application. If the Pocket PC is not equipped with the .NET Compact Framework or Microsoft SQL Server CE, the .NET run-time (or setup package of distribution) will automatically install those two (in order) and then only our application.

    This is a very simple approach to installing, working with and testing Microsoft SQL Server CE with a Pocket PC emulator.  The upcoming sections will introduce you to the step-by-step process of achieving the same.

    More MS SQL Server Articles
    More By Jagadish Chaterjee


       · Hello guys, contributed another on developing Pocket PC applications. Enjoy and give...
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway