开发者

Asp.Net Default aspnetdb.mdf

When you create a new ASP.NET project with membership it creates the default connection string for ApplicationServices as follows:

<add name="ApplicationServices"
     connectionString="data开发者_C百科 source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
     providerName="System.Data.SqlClient" />

Is there a way to force this to use SqlServerCe in the App_Data folder instead of creating it in sql express?


no its not possible, but you can check it via code for data source..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜