". Net MVC4 connectionstring Settings" Get the connection string for the SQL Server database

Source: Internet
Author: User

  1. First step: Create a Wizard File

    Create a TXT file on the desktop and change the file suffix to ". udl".

  2. Step Two: Select the Provider tab page

    Double-click the newly created. udl file, enter the Provider tab, and select Microsoft OLE DB Provider for SQL Server.


  3. Step three: Set up "Connect"

    After the second step, select the "Next" button and go to "Connect" tab, in "1. Select or enter the server name (E)" Enter ".", then select "2. Enter information for the login server", and in "3rd" select "Select Database on Server".

    Or
  4. Fourth step: Test If the connection is successful

    On the Connect tab, click the Test Connection button in the lower right corner to test if the connection is successful.

  5. 5

    Fifth step: Get the connection string

    When the fourth step "test succeeded", open the ". udl" file with Notepad to get the connection string.


    Or

". Net MVC4 connectionstring Settings" Get the connection string for the SQL Server database

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.