1. 程式人生 > >asp.net 中 mdf 資料庫檔案的使用

asp.net 中 mdf 資料庫檔案的使用

然後檢視原始碼目錄下的連線字串
<connectionStrings>
  <add name="SperConnectionString1" connectionString="Data Source=.\SQLEXPRESS;User ID=sa;pwd=sa;Initial Catalog=Sper_lvyou" providerName="System.Data.SqlClient"/>
 <add name="sper_lvyouConnectionString1" connectionString="Data Source=.\SQLEXPRESS;User ID=sa;pwd=sa;Initial Catalog=Sper_lvyou" providerName="System.Data.SqlClient"/>
 </connectionStrings>