ComponentOne VSFlexGrid 8.0
Data Binding

In Visual Basic, you may select the DataSource property at design time and select from a list of available data sources. This is not done by the controls, but by VB itself. In Visual J++, the DataSource property is not displayed in the property window. This is because J++ uses a different type of design time mechanism, and that is why you don't see the DataSource property at design time (not on the VSFlexGrid, MSDataGrid, or any other ActiveX OLEDB control).

To implement data binding in J++, you have two options: use the native WFC DataSource control, or use the ADO classes and create the data source yourself. Either way, you need to connect the grid to the data source using code.

a) To use the native WFC DataSource control, follow these steps:

b) To use the VSFlexGrid control with ADO data objects, follow these steps:

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback