Viewing of SQL Database Connection String in Visual Studio

SQL Database Connection  – To view Database Connection String using Visual Studio. Open your Visual Studio IDE and navigate to View-> SQL Server Object Explorer.

SQL Database Connection

SQL SERVER OBJECT EXPLORER

Then navigate to SQL Server Explorer from the left pane of your development Environment.

SQL Database Connection

Server Object Explorer Location

Connect to your server using the button with plus sign located at the top of the Server Object Explorer.

SQL Database Connection

Connect to Server

From the dialog box select the server you want to connect. Then click connect.

SQL Database Connection

Choose Server

Navigate to your Database of which you want to view its connection string.

SQL Database Connection

Select Database

Click on your Database and go to properties located just below your solution explorer then go to connection string.

SQL Database Connection

    Properties

Copy connection string and paste it  to your application for your database connectivity

Thank you for reading. Happy coding!!

Leave a Reply

Your email address will not be published. Required fields are marked *