MindFusion WinForms Programmer's Guide
Using VisualStudio 2008

Create a database connection

  1. In the Server Explorer, right-click the Data Connections node and choose Add Connection.
  2. Select the data source (for example, Microsoft Access Database File), and click Continue.
  3. In the Add Connection dialog box, click Browse and select the database file name (for example 'Sales.mdb'), test the connection and press OK. The selected database appears in the Server Explorer, under the Data Connections node.

Add data source

  1. On the Visual Studio Data menu, select Add New Data Source. This will display the Data Source Configuration Wizard, which will automate the process of adding a new data source to your application.
  2. Select Database, then click Next.
  3. Click the New Connection button to create a new database connection. If you have already created the database connection (as shown above through the Server Explorer), click Next.
  4. Save the connection string to the application configuration file. Click Next.
  5. Choose the database objects
    Expand the Tables node, select the Table that you want to use, and then click Finish. The DataSet is added to your project and the selected table appears in the Data Sources window.
  6. On the Data menu, select Show Data Sources. The DataSet is displayed in the Data Sources window.

  1. To preview the added data source, right-click the DataSet, and select Preview Data.
  2. Rebuild the project