ComponentOne ADO.NET DataExtender
In This Topic
    Connecting a C1DataViewSet Component to a Connection String Dataset
    In This Topic

    Connecting a C1DataViewSet to a database ConnectionString involves the following basic operations:

    1. From the Toolbox, add a C1DataViewSet component to the form.

    Note: If you have not already added the C1DataViewSet component to the Toolbox, see Adding ADO.NET DataExtender Components to a Project.
    The C1DataViewSet properties appear in the Properties window in the lower right pane of the Visual Studio IDE.

    2. Click the drop-down arrow next to the ConnectionProvider property and select a data provider. For this example, select System.Data.OleDb.

    3. Click the drop-down arrow next to the ConnectionString property and select one of the existing databases, or you can create a new connection to a database not listed.

    You can also click the smart tag () above the C1DataViewSet component to open the C1DataViewSet Tasks menu, where you can select a data source from the Select Provider drop-down list and specify a ConnectionString in the and define database ConnectionString drop-down list, as shown in the following image: