In ASP, an include file could be used to hold the the database connection string, meaning changing it in the one file would mean the entire site would connect differently. is there a way to do this in ASP.NET?
At the moment i use VS.NET to create a connection, from which i drag the data onto the screen, making the connections, but each page hard codes this info into the aspx.vb page, meaning the entire site will need to be edited. if i change the location of the database.
any ideas?
Cheers
At the moment i use VS.NET to create a connection, from which i drag the data onto the screen, making the connections, but each page hard codes this info into the aspx.vb page, meaning the entire site will need to be edited. if i change the location of the database.
any ideas?
Cheers