Select a Connection String

On the next page, specify a connection string to be used to establish a data connection, using one of the following two options.

  • Use an existing connection string available in the current project. To do this, select Yes, let me choose from the list. Next, select the required connection string from the list of the available connection strings.
  • Specify a connection string manually. To do this, select No, specify a custom connection string.

how-to-ef-datasource05

Click Next to proceed to the next wizard page. If you select the first option, proceed to the Specify a Connection String page. If you choose one of the available connection strings, go to the Bind to a Stored Procedure or Select a Data Member page, depending on whether or not the current Entity Framework model provides stored procedures.