Display database table data

You can display the data stored in a database table by dragging the database table into the
Data grid
object.
  1. In
    Project view
    , right-click a node and select
    New
    Data controls
    Data grid
    .
    For example, right-click
    MainWindow (type)
    .
  2. Double-click the
    Data grid
    object to open it in the editor.
  3. In
    Project view
    , select a
    Database
    object.
  4. From
    Properties
    , drag a table into the
    Data grid
    object in the editor.
    The
    Data grid
    object shows the data stored in the database table.
  5. (optional) To display the data updated in real time at runtime, configure the call of the
    Update
    method of the
    Data grid
    object.
    TIP: You can associate the
    Update
    method with the
    MouseClick event
    of a
    Button
    object.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.