gist/jest -yah, whatever -grin.
Must be the 'Provider=' where I'm going wrong then. Sounds like I'm going
down the right track, just not getting the connection string correct. My
connection keeps failing with "unknown connection option in connection
string: provider"
When I remove the Provider=, I get, "Invalid delimiter ; found in connection
option SQLOLEDB.1;Integrated Security."
Or, maybe its because I'm trying to test all this using the emulator? Can
the emulator connect to a local sql database using this method? I found
some reference that said I have to enable the Guest account - did that, and
still the same. ??
Get my Jist?
Thanks Alex.
"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The *gist* (I like your typo though) of establishing the connection to the
> external SQL server is to use SqlClient class passing to it the connection
> string identical to one you would use with SqlClient on the desktop (note,
> that this is different from OLEDB connection string - there is no
> Provider= value).
>
> It helps to use server's IP address as in many cases name resolution on
> the device is limited, but of course you don't have to do it. SO just go
> ahead, create and open SqlConnection, create a SqlCommand and execute it.
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Wapiti" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Can someone point me to the jest of what it takes to connect directly to
>> a SQL Server?
>>
>> My PPC has network connectivity and can ping the network server, but not
>> sure from here, how to gain access to the data in my sql server database.
>>
>> I've used SQLserverCE onboard my ppc successfully, but not directly
>> connected to my server's sql server database.
>>
>> Thanks for any leads you can offer!
>>
>>
>>
>
>