Displaying Data Control Binding Data Control with Manual Programming in MFC

Liu Xiong-ying · Computer and Information Technology · 2012

MFC database application programming ways are mostly the one using the classes of recordset and view created by application wizard and the another using related classes provided by MFC library.Because many displaying data controls can not coordinate with data control automatically in MFC,it is that displaying data controls can not show the data rightly,available ActiveX controls are not fully made use of in the two programming ways,such as TextBox、DataCombo as well as DTPICKER controls.some ADO data control's methods is not implemented by ADO access object,such as the AddNew method with no parameter.By the way of manual programming of binding data to controls,the lost automatic harmony within the controls is restored.The Programming fully with ActiveX controls increases code reusability and causes application interaction quality to be gotten better further.

Read the paper · More papers on PaperTik