How to Create Data Sources Using SharePoint Designer 2013, Part I: Saving User Name & Password

With Microsoft SharePoint Designer 2013, you can connect to any kind of database, including Microsoft SQL Server (SQL Server 2005 and SQL Server 2008), Oracle, and OLE DB protocol. Moreover, there are three options for connecting to databases:

This article shows you how to create a connection to a database. It also shows you how to connect to a database by saving the user name and password.

Steps:

Step 1: Using SharePoint Designer 2013, connect to site.

Make sure the site you are working on is a Microsoft SharePoint Foundation 2013 site or a Microsoft SharePoint Server 2013 site. Then identify the kind of authentication you want to use.

Open SharePoint Designer 2013, and select Open Site:

Type the site name into the Open Site dialog box, cand click the Open button:

The Windows Security dialog box will open.  Enter your username and password:

 

Step 2: Connect to Data Source.

  •  Click Data Sources in the Navigation Pane:

  •  On the Data Sources tab in the Ribbon, in the New group, click Database Connection:

  •  In the Data Source Properties dialog box, on the Source tab, click Configure Database Connection:

  • In the Configure Database Connection dialog box, under Server Information, in the Server Name box, type the name of the server where you want to connect.
  • In the Provider Name box:
    • If you are connecting to an external Microsoft SQL Server database, click Microsoft .NET Framework Data Provider for SQL Server.
    • If you are connecting to an external database that is OLE DB-compatible, including versions of SQL other than Microsoft SQL, click Microsoft .NET Framework Data Provider for OLE DB.
  • Under Authentication, click Save this username and password in the data connection.
  • In the User name box, type your user name.
  • In the Password box, type your password.
  • Click Next.

For example: Here, I connect to SQL Server 2008; with Northwind Database; Employees table

You will see the Database Name under the Database Connections section:

Happy connecting!