CE .NET Direct Sql Server Connection

T

texaspete

I have looked into a few messages about connecting directly from CE.Net
to MSSQL via SQLConnection object. However, when I try to import the
system.data.sqlclient namespace - it doesn't exist.

What else do I have to do to make a connection string directly to SQL
server (not SQL CE).

Thanks in advance.

TexasPete
 
I

Ilya Tumanov [MS]

It exists; you just need to add a reference to System.Data.SqlClient.dll.
Also it's not the part of NETCF and needs to be installed separately.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
G

Ginny Caughey [MVP]

TexasPete,

How are you trying to add a reference to System.Data.SqlClient? That is the
correct namespace.
 

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