Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection String with SqlCeConnection
Message
 
To
07/08/2003 14:30:42
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
ASP.NET
Category:
.NET Compact Framework
Miscellaneous
Thread ID:
00817896
Message ID:
00817932
Views:
20
Data Source should be set to your .sdf file. AFAIK you can't just connect to a specific table, you have to connect to a database.

See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatasqlservercesqlceconnectionclassconnectionstringtopic.asp


>Hello,
>
>I seem to be having a problem with this connection string.
>
>SqlCeConnection ceConn = new SqlCeConnection();
>ceConn.ConnectionString = "Persist Security Info=False;
>Source = C_Quest.dbo.Orders" +
>"Password = ; server=NYC1;Connect Timeout=30";
>
>Where is the error? I cant see it..
>
>Thanks,
>
>Alvin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform