CGXODBCGrid::OpenRecordset

virtual void OpenRecordset();

Remarks

Opens the recordset (if not yet opened), initializes the columns (width, field name, length, base style) and redraws the grid. The method is typically called from CGXODBCGrid::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 already opened CRecordset.

The method will reset any contents in the CGXData object.

See Also

 CGXGridCore::OnGridInitialUpdate

CGXODBCGrid

 Class Overview |  Class Members