I have recently created an asp.net page in visual studio 2010. I have not changed any of the prebuilt loginview code. It creates the MDF file that allows for logging in users and registering users. However, I don’t want to use the MDF file, I want to use a SQL Server instance i have running (lets call it MyServer) with a database MyDatabase. Where is the code that connects to the MDF file and is there a clean way of changing the data source? Thanks!
Share
You can modify your
string connectionin yourconfig file(Web.config)Modify this section
With for example this
Link : http://www.connectionstrings.com/