How do you connect to a local SQL server database in asp.net using Visual Studio 2013? I'm not talking about a remote access connection. In this case, the SQL database is located in the App_Data folder that is at the root of the web application. I want to be able to query the database from the c# file that is connected to the asp.net application and display the data on a label. I have searched for an answer for well over an hour and nothing seems to show up.