I'm trying to create a new SqlCE 4.0 sdf database but I'm not sure which connection provider I need to use?
I downloaded CE4.0 from Microsoft separately. ... so is there a new provider we're suppose to use? Or do we use the 3.5 provider?
I'm trying to create a new SqlCE 4.0 sdf database but I'm not sure which connection provider I need to use?
I downloaded CE4.0 from Microsoft separately. ... so is there a new provider we're suppose to use? Or do we use the 3.5 provider?
A sample 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 it provides.