acces to SQL server 2.0 CE from .NET Framework

G

Guest

Hello

I am trying to accede to a BD SQL Server 2.0 CE of a PDA from a .NET (C#) application that is executed on a PC, on .NET Framework not with .NET Compact Framework, without any success

The procedure wants to bring the .sdf file of the PDA to the PC and also wants to have an application on the PC on .NET able to read what it is wrote on the bb.dd of the PDA

My problem is that System.Data.SqlServerCe is valid only if it is executed on .NET Compact Framework, I’m trying to do that with OleDB but I don’t have any success

Have someone been able to accede the bb.dd of a PDA device from an application executed on a PC while the PDA is connected to the PC with ActiveSync

Many thanks in advance

/Ann
 
W

William Ryan eMVP

Anais:

You're not going to be able to do it if I understand your question
correctly. If you're using CE, set up merge replication and when you cradle
it, sync the data with your main SQL Server and access the data from there.

Or, just write your dataset to XML and move it on Snyc, then use
DataSet.ReadXML to deserialize it.

HTH,

Bill
anais said:
Hello,

I am trying to accede to a BD SQL Server 2.0 CE of a PDA from a .NET (C#)
application that is executed on a PC, on .NET Framework not with .NET
Compact Framework, without any success.
The procedure wants to bring the .sdf file of the PDA to the PC and also
wants to have an application on the PC on .NET able to read what it is wrote
on the bb.dd of the PDA.
My problem is that System.Data.SqlServerCe is valid only if it is executed
on .NET Compact Framework, I'm trying to do that with OleDB but I don't have
any success.
Have someone been able to accede the bb.dd of a PDA device from an
application executed on a PC while the PDA is connected to the PC with
ActiveSync?
 

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