Yes, you can do that. In fact, you can do that with every version (and
name, which keeps changing), of SQL Server CE/Compact/Mobile. You don't
actually have a local database at all; you're just using the normal remote
data access to the server database. If you have to go through IIS, I think
you'll have to use RDA, which requires a lot more setup on the server side.
A search for "rda and iis" will give you various results. Here's one that
seems to talk about basically what you want to do, although it's still back
in the SQL CE/SQL Server 2000 days, so the product names are a little off:
http://www.sqljunkies.com/tutorial/1b5a2375-ef85-43cb-9516-bb3cd598cf46.scuk
Paul T.
Thanks Paul and Ginny,
Paul, do you mean, on the PDA (PocketPC), I can connect to the server
database via the ODBC connection string (just like I am on a PC)?
I certainly don't want to go thru the IIS. It's just the MS website
imply that I have to.
> Yes, you can do that. In fact, you can do that with every version (and
> name, which keeps changing), of SQL Server CE/Compact/Mobile. You don't
[quoted text clipped - 21 lines]
>
> - Show quoted text -
Paul G. Tobey [eMVP] - 21 May 2008 20:14 GMT
I've not done that in a *long* time, but I think so, yes. It's so much
easier to do this sort of thing with C# or VB.NET and the .NET Compact
Framework that I *always* use those when doing database stuff in Windows CE.
You just use a SqlConnection class and set its connection string. A typical
connection string might be something like:
data source='servername';database='databasename';user
id='yourname';password='yourpassword';
or whatever (obviously, sending the user name and password this way isn't a
great idea). Pretty much just the regular old connection string.
Paul T.
Thanks Paul and Ginny,
Paul, do you mean, on the PDA (PocketPC), I can connect to the server
database via the ODBC connection string (just like I am on a PC)?
I certainly don't want to go thru the IIS. It's just the MS website
imply that I have to.
On May 20, 4:08 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
> Yes, you can do that. In fact, you can do that with every version (and
> name, which keeps changing), of SQL Server CE/Compact/Mobile. You don't
[quoted text clipped - 27 lines]
>
> - Show quoted text -