CGXAdoGrid::OpenRecordset

virtual void OpenRecordset();

Remarks

Opens the recordset (only if not yet opened), initializes the columns (width, field name, length, base style) and redraws the grid. The method is typically called from CGXAdoGrid::OnGridInitialUpdate.

If no recordset has been attached to the grid, the method will assert.

If the recordset has already been opened, the method only initializes the grid columns based on the fields information in the ADORecordset.

The method will reset any contents in the CGXData object.

See Also

 CGXGridCore::OnGridInitialUpdate

CGXAdoGrid

 Class Overview |  Class Members