Share via


Databinding with ActiveX Controls in Visual C++

Databinding is implemented via two types of ActiveX controls: data-source controls and data-bound controls.

Data-Source Controls

A data-source control is responsible for encapsulating a database query and the retrieved rowset. The Microsoft data-source controls provide a user interface consisting of a series of buttons to iterate through the data. Visual C++ offers two data access technologies for data-source controls: ADO and RDO.

Data-Bound Controls

A data-bound control is responsible for presenting the data. Data-bound controls connect to data-source controls to receive data and present the data through a variety of user interfaces. A Visual C++ application can also bind variables to data values set in the data-bound controls; see .

What do you want to know about databinding?

Data Access: ADO and RDO

ActiveX Controls that Support Databinding

ADO Databinding

RDO Databinding

Wrapper Classes

Setting Event Handlers on ActiveX Controls

Error Trapping

Limitations of Databinding