[]
        
(Showing Draft Content)

Working with Data Views

Adding a Data View

  1. Open the form in the designer.

  2. Hover over the connection in the tool window and click imageAdd Data View. The Query Builder opens.

  3. Compose the query. See Query Builder.

  4. Enter a Data View name.

  5. Click Save Data View.

Expand the connection in the tool window to display the new Data View.

C1 DataWizard - GIF showing adding a Data View

Note: A Data View can be added only while the designer form is open. The Data View name cannot be changed after creation.

Editing a Data View

Hover over a Data View in the tool window and click image Edit Data View. The Query Builder opens with the existing query. Modify the query, then click Save Data View. The Data View name cannot be changed.

C1 DataWizard - Editing a data view

Viewing Data View Details

Hover over a Data View in the tool window and click image View Details. The details page displays the Data View identifier, type, filter, and bound controls. A control can be unbound from this page. See Unbinding a Data View.

C1 DataWizard - GIF showing viewing Data View details by clicking on view details icon

Removing a Data View

Hover over a Data View in the tool window and click image Remove Data View.

C1 DataWizard - GIF showing removing a Data View by clicking on Remove Data View icon

Note: A Data View cannot be removed while it is bound to a control. Unbind it from every control first.

Previewing Data and Queries

Result Preview in the Query Builder provides two views:

  • image Grid View: Displays the data returned by the query.

  • image Code View: Displays the generated query. For Entity Framework connections, it displays a LINQ query.

Click the corresponding icon button to switch views. The preview displays up to 30 rows and includes the total row count. Click Refresh to update the preview.

The total row count appears at the right of the Conditions and Result Preview headers. The preview updates automatically when a condition value changes.


Note: The preview is read-only. Modify the query through the Query Builder.