This example demonstrates how to customize connection settings before ASPxDashboardViewer connects to a database using the ConfigureDataConnection event.
In this example, the dashboard visualizes data from the secured Microsoft Access database. To visualize data from this database file, it is necessary to provide connection parameters
(a path to the database file, a user name and a password for authentication).
- The FileConnectionParametersBase.FileName property specifies the path to a database file.
- The Access97ConnectionParameters.UserName and FileConnectionParametersBase.Password event parameters are used to provide the user name and password respectively.