An example connection string would look like this:
<add name="integration" connectionString="Data Source=testdb.sdf" providerName="System.Data.SqlServerCe.4.0" />
You should also reference the System.Data.SqlServerCe.dll and the ADO.NET classes that it provides.
source
share