The following data-bound controls display data from the ADO data control. For information about using ActiveX controls, see Inserting the Control into a Visual C++ Application and Setting Control Properties at Design Time.
Control name and support file | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Microsoft DataCombo Msdatlst.ocx DBList98.chm |
The DataCombo control allows retrieved data to appear in a drop-down combo box. To link the DataCombo control to a data source
|
||||||||
Microsoft DataGrid Msdatgrd.ocx DBGrid98.chm |
DataGrid can hold text data, but not linked or embedded objects. The AllowAddNew, AllowDelete, and AllUpdate properties allow the DataGrid to modify data. |
||||||||
Microsoft DataList Msdatlst.ocx DBList98.chm |
The DataList control allows retrieved data to appear in a drop-down list box. To link the DataList control
|
||||||||
Microsoft DataRepeater Msdatrep.ocx DatRpt98.chm |
The DataRepeater control is a composite control; a control that hosts other controls. It allows you to specify a control to repeat, and when bound, displays the selected control for each record retrieved. The DataRepeater then allows end users to scroll through the retrieved records. To link the DataRepeater control
The DataRepeater control also ships separately with Visual Studio 6.0 or later. |
||||||||
Microsoft Hierarchical FlexGrid Mshflxgd.ocx MsHFlx98.chm |
The Hierarchical FlexGrid control displays tabular data. Unlike the DataGrid, it is strictly read-only. However, it can sort, merge, and format tables containing strings and pictures. Additionally, the Hierarchical FlexGrid differs from its predecessor, the FlexGrid, in that it can display both summary data and detail data. A hierarchical rowset is required to display summary-detail information in the Hierarchical FlexGrid control. To create a hierarchical rowset for this control, the Microsoft Data Shape Provider is required in combination with the ADO data control. To use the Hierarchical FlexGrid
For additional information on data shaping see the topic Hierarchical Cursors and Data Shaping in the ADO Programmer's Reference. |
||||||||
Microsoft Chart Mschart.ocx MSchrt98.chm |
The Chart control displays an array of data as a graph. It can display both two-dimensional and three-dimensional graphs. When data-bound, it treats the retrieved rowset as an array of data. To link the Chart control
It is recommended that the ADO data control's database query retrieve a rowset of aggregate information such as count(*), sum(*), min(*), and max(*). Previous versions of the MS Chart control were RDO based.
|