Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Sql Server 驗證 -->
- <configuration>
- <connectionStrings>
- <add name="Your DB Name" connectionString="Data Source=Your DB IP;Initial Catalog=Your DB Name;Persist Security Info=True;User ID=Your ID;Password=Your Password" providerName="System.Data.SqlClient"/>
- </connectionStrings>
- </configuration>
- <!-- Windows 驗證 -->
- <configuration>
- <connectionStrings>
- <add name="Your DB Name" connectionString="Data Source=Your DB IP; Initial Catalog=Your DB Name; Integrated security=true;" providerName="System.Data.SqlClient"/>
- </connectionStrings>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement