conneting to a database on a pocket pc

  • Thread starter Alfonso Paredes
  • Start date
A

Alfonso Paredes

I want to read and write to an access database on a
pocket pc.
In a desktop environment you use the System.Data.OleDB
namespace and all the objects in there. i.e.
OleDbConnection, OleDBCommand, etc.

But in the compact framework none of those exist. So the
question is which classes should I use instead of
OleDbConnection, OleDbCommand and OleDbDataReader?

Saludos

Alfonso
 
W

William Ryan

Using pocket access is a total pain in the butt on the cf
because there isn't support for it in ADO.NET. You can
write stuff to xml using dataset.writexml and then
readxml or use SqlServerCE as mentioned in Michael's
post. Done both of these and they are fairly simple to
implement.

If you look at the cf forum on www.devbuzz.com I have a
few posts about it.

Good Luck,

Bill

W.G. Ryan
(e-mail address removed)
www.knowdotnet.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top