...ce=ZHANGYIRUI");//设置连接语句 m_AdoDC.SetCommandType(1);//??? m_dataGrid.SetRefDataSource(m_AdoDC.GetControlUnknown());//刷新数据源 refreshGrid(); return TRUE; // return TRUE unless you set the focus to a control // ...