复制代码 代码如下:
<connectionStrings>
<add
connectionString ="Data Source=(LocalDB) /v11.0;AttachDbFilename=|DataDirectory| /Movies.mdf;Integrated Security=True" providerName ="System.Data.SqlClient" />
</connectionStrings>
复制代码 代码如下:
<connectionStrings>
<add connectionString="Data Source=|DataDirectory|MvcMusicStore.sdf"
providerName="System.Data.SqlServerCe.4.0"/>
</connectionStrings>
复制代码 代码如下:
<connectionStrings
<add
connectionString ="Data Source=(LocalDb)/v11.0;Initial Catalog=aspnet-MvcMovie-
2012213181139;Integrated Security=true" providerName ="System.Data.SqlClient" />
</connectionStrings>
复制代码 代码如下:
<connectionStrings>
<add connectionString="Data Source=服务器名;Initial Catalog=数据库名;uid=用户Id;pwd=用户密码;"/>
</connectionStrings>
新闻热点
疑难解答
图片精选