ActiveX 中的Microsoft ADO Data Control, version 6.0 (OLEDB)控件要在程序运行后再动态指定数据源并在Microsoft DataGrid Control, Version 6.0 (OLEDB)控件上显示出数据记录,数据源是事先建立的,运行后是选,选到那个就显示那个. 就是这样请问如何做. 请各位大哥哥大姐帮帮忙.谢了.
229029 - SAMPLE: AdoDataGrid.exe Demonstrates How to Use ADO with ... The AdoDataGrid sample demonstrates the various uses and combinations of ADO objects, and shows how to use the ADO Recordset object to populate the Microsoft DataGrid control, which makes presenting data through ADO very easy in Visual C++. The sample... Comments? ... AdoDataGrid.exe. ... support.microsoft.com/?kbid=229029&sd=msdn
The AdoDataGrid sample demonstrates the various uses and combinations of ADO objects, and shows
how to use the ADO Recordset object to populate the Microsoft DataGrid control, which makes presenting
data through ADO very easy in Visual C++. The sample... Comments? ... AdoDataGrid.exe. ...
support.microsoft.com/?kbid=229029&sd=msdn
具体的你查查MSDN
加载#import "C:\Program Files\Common Files\System\Ole DB\msdasc.dll" rename_namespace("dl26")
时也错