全文预览

基于C++的企业考勤管理系统的设计代码

上传者:幸福人生 |  格式:doc  |  页数:63 |  大小:198KB

文档介绍
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");

收藏

分享

举报
下载此文档