title: How to connect an asp.net web app to SQL Server
body: <p>I'm having some difficulty finding how to do this. I have an asp.net web app that I'm creating. I need to connect it to SQL Server to pull data from a couple of tables. I've found what I think are the correct connection strings, but I don't know where to put them so that I can use them for several pages?</p>
  
  <p>I found this <a href="https://msdn.microsoft.com/en-us/library/jj653752(v=vs.110).aspx#sqlserver" rel="nofollow noreferrer">connection string</a> and this <a href="https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring(v=vs.110).aspx#Examples" rel="nofollow noreferrer">example</a> that I am pretty sure I can use.</p>
  
  <p>What I need to know is where do I put this so that I can use it on 5 - 6 different pages? If someone can point me in the right direction that would be enough.</p>