简体   繁体   中英

Connection string for the Northwind.sdf

I am making a small Windows application using Visual Studio 2010 and SQL server compact edition 3.5. I want to access Northwind.sdf database in my application but I am unable to make the connection string.

I have copied the database in my application as well as in the debug folder as I am trying to run application in debug mode.

Well you have got to give us a bit more than that. First of all are you trying to connect to the database using SqlConnetion or SqlCeConnection? Secondly, are you sure that path or you database is correct? You may also referre to the links below for more info.

Sql Compact 2008 Connection string Problem

Sql Compact Connection String

If you want any further help try to post the code you have done so far.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM