- Start the ADO.NET Connection Editor.
- From the
(Settings) menu, set each option as required to define the new connection. For a description of each option, see
Settings menu.
- Click
Add to start the Add an ADO.NET Connection wizard.
- Click
Next.
- Type a data source name into the
Data Source Name field; then click
Next.
- Do one of the following to filter the list on the
.NET Data Providers grid:
- To view only the catalogued ADO.NET data providers, select
Preferred Providers.
- To view catalogued ADO.NET, ODBC, and OleDb data providers, select
All Providers.
- Select the data provider that you want to use; then click
Next.
Depending on your provider selection, the wizard progresses to the
Provider Connection Details,
ODBC System DSNs, or
OLE DB Data Providers page.
- For .NET providers, continue to the next step. For ODBC and OLE DB providers, do one of the following:
- For an ODBC system DSN, select a DSN on the
ODBC Data Sources list; then click
Next.
- For OLE DB providers, select an OLE DB provider from the list; then click
Next.
- On the Provider Connection Details page, specify additional connection settings or modify default connection settings as required;
then click
Next.
Note: Depending on the selected provider, this page shows all or some of the available connection settings including those required
to connect. You can adjust all connection settings from the main window of the ADO.NET Connection Editor. See the context
help located at the bottom of the main window for a description of each setting.
- Review your connection settings; then click
Finish to create and catalog the connection.
- On the ADO.NET Connection Editor main window, adjust connection settings values as appropriate for your environment. Optional.
- Click
Test to test your connection. Optional.
Note: Alternatively, right-click the connection and select
Test Connection from the context menu.
- Close the ADO.NET Connection Editor.