PC Review


Reply
Thread Tools Rate Thread

Access DB for SmartPhone ?

 
 
Sabareesh_krishnamoorthy
Guest
Posts: n/a
 
      8th Sep 2003
Hi,

would it be possible to use Access as a DB for SmartPhone. I need to push a
light DB on the smartphone.

if i simply copy the access mdb file to the device, can i access the data
using ADO?

please do let me know.
thanks and regards,
-Sabareesh K



 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      8th Sep 2003
Smartphone does not support Pocket Access or the ADOCE control so it is not
possible to easily convert an access database to the device to use. It is
still possible to use the underlying CEDB database engine by P/Invoking the
API calls but this is not straightforward - and it does not have regular
database features such as field names and querying which ADOCE and "Pocket
Access" adds on top of the basic CEDB engine.

Your best bet for a small data store is to use XML which you can easily load
into a DataSet, or for a more compact solution use comma separated values
(CSV) text files. OpenNETCF has a library which can assist in reading and
writing a DataTable to csv file:-
http://www.opennetcf.org/csv.asp

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com

"Sabareesh_krishnamoorthy" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> Hi,
>
> would it be possible to use Access as a DB for SmartPhone. I need to push

a
> light DB on the smartphone.
>
> if i simply copy the access mdb file to the device, can i access the data
> using ADO?
>
> please do let me know.
> thanks and regards,
> -Sabareesh K
>
>
>



 
Reply With Quote
 
Sabareesh_krishnamoorthy
Guest
Posts: n/a
 
      9th Sep 2003
Thanks peter. the article was useful indeed.

-Sabareesh K
"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Smartphone does not support Pocket Access or the ADOCE control so it is

not
> possible to easily convert an access database to the device to use. It is
> still possible to use the underlying CEDB database engine by P/Invoking

the
> API calls but this is not straightforward - and it does not have regular
> database features such as field names and querying which ADOCE and "Pocket
> Access" adds on top of the basic CEDB engine.
>
> Your best bet for a small data store is to use XML which you can easily

load
> into a DataSet, or for a more compact solution use comma separated values
> (CSV) text files. OpenNETCF has a library which can assist in reading and
> writing a DataTable to csv file:-
> http://www.opennetcf.org/csv.asp
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
>
> In The Hand
> http://www.inthehand.com
>
> "Sabareesh_krishnamoorthy" <(E-Mail Removed)> wrote in
> message news:(E-Mail Removed)...
> > Hi,
> >
> > would it be possible to use Access as a DB for SmartPhone. I need to

push
> a
> > light DB on the smartphone.
> >
> > if i simply copy the access mdb file to the device, can i access the

data
> > using ADO?
> >
> > please do let me know.
> > thanks and regards,
> > -Sabareesh K
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CertOpenStore Gives Error#5 "Access is denied" for Smartphone application... It's urgent Ansh Microsoft Dot NET Compact Framework 1 11th Dec 2006 06:21 AM
how to access data from SQL Server 2000 using Smartphone 2003 SDK Wong CS Microsoft Dot NET Compact Framework 1 1st Apr 2005 12:59 AM
Smartphone app retrieving a document from another smartphone Daryl Wilding-McBride Microsoft Dot NET Compact Framework 2 10th Jun 2004 07:51 AM
How can I access the "#" key on MS Smartphone 2003 using VB.NET? germanwbauer@hotmail.com Microsoft Dot NET Compact Framework 0 5th Apr 2004 09:39 PM
smartphone jacks Microsoft Windows 2000 Terminal Server Clients 4 20th Nov 2003 08:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:20 PM.