本人在用VC开发ADO程序的过程中遇到的麻烦如下:将CDataGrid控件类添加进工程后,如何改变字段数和行数及表的编辑
m_pDataGrid = new CDataGrid;
if (m_pDataGrid == NULL)
return;
CRect rect;
GetClientRect(rect);
CWnd * pWindow = (CWnd *)this->GetActiveWindow();
m_pDataGrid->Create("Good!", WS_VISIBLE, rect, pWindow, IDD_TEST11_DIALOG);
m_pDataGrid->SetCaption("Wolf");如果有其他类似的控件类,阁下使用过的话,不吝赐教!