Data Connection for webconfig file in ASP.NET 3.5


/ Published in: ASP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!-- insert into web.config file !-->
  2.  
  3. <configuration>
  4. <connectionStrings>
  5.  
  6. <add
  7. name="connDatabaseConnection"
  8. connectionString="Data Source=sqlb17.webcontrolcenter.com;Initial Catalog=a_preprosports;User ID=preprosports;Password=ssaadd11;Connect Timeout=2;Max Pool Size=200;" providerName="System.Data.SqlClient"/>
  9.  
  10. </connectionStrings>
  11.  
  12. </configuration

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.