RAD Studio for Microsoft .NET |  |

Using the Connection Editor Designer
See Also
Collapse All

Each connection object can support multiple named connections. These connections can represent connections to multiple databases and database types.

To add a new connection

1. Select an existing BdpConnection component in the designer, or drop a BdpConnection component onto the designer to create a new object.
2. Click the component designer tab at the bottom of the Object Inspector to display the Connection Editor dialog.
3. Click Add to display the Add New Connection dialog.
4. Select a provider from the Provider Name drop-down list box.
5. Enter a new name for the connection in the Connection Name text box.
6. Click OK.
7. Enter the appropriate values for your particular data source.
8. Click OK.

To remove a connection

1. Select the connection type until it is highlighted.
2. Click Remove. A Confirm Delete dialog box appears.
3. Click Yes.

To rename a connection

1. Right-click on the connection and choose Rename.
2. Type the new name of the connection.
3. Click OK.

See Also

ADO.NET Overview

ADO.NET Component Designers

Connection Pooling Options

Building a Windows Forms Database Application

Using the Command Text Designer

Using the Data Adapter Designer

Using the Generate Dataset Designer

Using the Data Adapter Preview

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!