Reputation: 1
I follow this tutorial but in the end I can't find out where the School.sdf in the Solution Explorer although everything works fine.
I rewrite my connection string exactly the same as the one written in the tutorial
<connectionStrings>
<add name="ApplicationServices"
connectionString ="data source=|DataDirectory|School.sdf"
providerName="System.Data.SqlServerCe.4.0" />
<!-->="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
providerName="System.Data.SqlClient" />
-->
</connectionStrings>
Upvotes: 0
Views: 236
Reputation: 856
you can click " show all files" on the top of solution show all files, then if you can see the school.sdf file, then you can right click the school.sdf file,choice included in the project
Upvotes: 2