Back to Devexpress

Create a Dashboard in the WinForms Designer

dashboard-119164-get-started-build-winforms-dashboard-applications-create-a-dashboard-in-the-winforms-designer.md

latest2.0 KB
Original Source

Create a Dashboard in the WinForms Designer

  • Jul 09, 2021
  • 3 minutes to read

This topic describes how to create a dashboard in the WinForms Dashboard Designer prepared in the Create a WinForms Designer tutorial.

Important

This example uses an Access 97 Database file shipped with the installation package as the data source. If you have Windows x64, make sure that the WinForms Dashboard Designer application is created with its Platform target set to x86.

Watch Video

Steps 1-6. Connect to a Database and Select Data

  1. Click New in the Ribbon. This creates a new dashboard and runs the Data Source wizard.

  2. Select Database and click Next on the first page.

  3. Specify data connection parameters. Select the data provider to Microsoft Access 97 and specify the following path to the database in the Database field:

  4. On the final page, click the Run Query Builder… button to run Query Builder.

  5. In the invoked Query Builder , drag and drop the SalesPerson view from Tables Pane on the left to the Design Pane

  6. The Data Source Wizard displays the generated query.

Steps 7-9. Create Dashboard Items and Bind them to Data

  1. Click the Gauges button in the Ribbon to add gauges.

  2. Click the Chart button in the Ribbon to add a chart.

  3. Click the Cards button in the Ribbon to add cards.

Step 10. Save the Dashboard

  1. Click Save in the Ribbon and select a destination to save the dashboard XML file.

Next Steps