Display database table data
You can display the data stored in a database table by dragging the database table into the
Data grid
object.Prerequisites
- To display database table data
- InProject view, right-click a node and select .For example, right-clickMainWindow (type).
- Double-click theData gridobject to open it in the editor.
- InProject view, select aDatabaseobject.
- FromProperties, drag a database table into theData gridobject in the editor.TheData gridobject shows the data stored in the database table.
- (optional) To display the data updated in real time at runtime, invoke theUpdatemethod of theData gridobject.TIP: You can associate theUpdatemethod with theMouseClick eventof aButtonobject.
Provide Feedback