我经常在对话框中使用DBGrid控件,也就是通过DBGrid和Microsoft RemoteData Control控件同时使用,将DataSource属性进行绑定,但是对DBGrid在视图中的使用不太清楚,我正在做一个程序,需要在视图中使用DBGrid,特请教高手??
解决方案 »
- 我想用MFC做一个会滚动的图。
- 疑惑: WIN 控件 ListBox是如何跨进程访问内存的??
- socket select问题
- 如何将 CString 转换为 unsigned char,谢谢
- ■【讨论】■:导出函数时到底应该用__declspec(dllexport)还是.def文件呢?
- 如何改变一个外部程序的文本框里的内容?
- ◆我从CListView派生一个子类CAbc,在CAbc中建立了一个CEdit,让CEdit撑大整个CAbc,那CListView那个Header怎么去掉呢???
- 关于CODE REVIEW事项
- vc中有关ado编程的棘手问题!急!
- 这个DLL应该如何做?
- 请问怎么样可以看到DLL文件的源代码?
- win2k advanced server 下面,音频和视频播放时,声音和画面非常快。
PRB: DBGrid Control Not Fully Functional in VC++但是用DBGRID做绑定用还是够用了,
在视图中应用,如果用CFORMVIEW,那就和在DLG中一样使用,要不就用CREATE(...)了
The AdoDataGrid sample is a FormView-based SDI MFC application. All the files are wizard-generated. After inserting the ActiveX object (Microsoft DataGrid control), the wizard will provide CColumn, CColumns, CDataFormatDisp, CDataGrid, COleFont, CPicture, CSelBooks, CSplit, CSplits, and CStdDataFormatsDisp classes in their respective files. No modification was made in DataGrid and its dependent files for this sample. In this sample, code for manipulating ADO objects is located in AdoDataGridView.cpp. The #import statement for ADO is located in Stdafx.h.