Application experience
1) MSHFLEXGRID controls and MSFLEXGRID controls
The MSHFlexGrid control is bound to the AdodC control, and the MSFLEXGRID control is bound to the DATA control.
2) Application of MSHFLEXGRID control
If the record set is generated in the program, you may not be bound to the ADODC control, display data directly in the MSHFlexGrid control, and can set the color of the row in the control as needed, as in the following example:
public function datagrid_update () as boolean on error goto datagrid_update_err dim orarsrecordset as object dim adorsrecordset as new adodb.recordset dim lngdatediff as long call getdata (const_generaltable_timeout_info, orarsrecordset) if not ado_databaseopen (dskattr, 1) then datagrid_update = false exit function end if