Move(int nIndex)Р{Рm_DataSet->MoveFirst();Рm_DataSet->Move(nIndex);Р}Рint CADODataSet::GetRecordNO()Р{Рreturn m_DataSet->AbsolutePositon;Р}Рvoid CADODataSet::Delete()Р{Рm_DateSet->Delete(adAffectCurent);Р}РBOOL CPersonApp::InitInstance()Р{РAfxEnableControlContainer();Р#ifdef_AFXDLLРEnable3dControls();Р#elseРEnable3dControlsStatic();Р #endifРLoadSkin();РBOOLbCon=?GetConnection()->Open(GetConnection()->GetSQLConStr("127.0.0.1","tb_person"));РCLoginDialog logindlg;Рif(logindlg.DoModal()! = IDOK)Рreturn false;РCPersonDlg dlg;Рm_pMainWnd =& dlg;Рint nResponse = dlg.DoModal();Рif(nResponse == IDOK)Р{Р}Рelse if(nResponse == IDCANCEL)Р{Р}Рreturn FALSE; Р}РBOOL CLoginDialog::OnInitDialog()Р{РCDialog::OnInitDialog();Рm_DataSet.SetConnection(GetConnection());Рm_DataSet.Open("Select * From Tab_User");