freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

數(shù)據(jù)庫原理及應(yīng)用-預(yù)覽頁

2025-07-19 07:18 上一頁面

下一頁面
 

【正文】 }void CStaffSystermView::OnDeletestaff() { // TODO: Add your mand handler code here deletdTable(員工基本信息表)。UID=sql。 CString strSQL=tablename。 int nColumns = ()。 (nNum, , LVCFMT_LEFT, 80)。 return。 return。PWD=,FALSE)。 id=(index,0)。 (%d,lateN)。,lateN,id)。 (index,5,klate)。 return。 return。}void CStaffSystermView::OnTotal() { // TODO: Add your mand handler code here if(m_tableNum!=2) { AfxMessageBox(請先進(jìn)入基本工資表!)。 if(countNum==0) { AfxMessageBox(無記錄!)。 int total=0。icountNum。 part=getListText(index,3,overtimeWage)。 part=getListText(index,5,lateNum)。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx///CString strsql。 try{ pDbExecuteSQL(strsql)。 } catch (CDBException *pEx) { pDbClose()。 part=0。 int part=atoi(p)。 } pDbOpen(NULL,FALSE,FALSE,ODBC。 CString id。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx// (update 基本工資表 set 獎金=%d where 員工號=39。 pDbClose()。 } pDbClose()。 if(index0) { AfxMessageBox(請選擇員工!)。 int basicWage。 int sj=basicWage/100。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//(update 基本工資表 set 基本工資=%d,加班費(fèi)=0,獎金=0,遲到次數(shù)=0,稅金=%d,應(yīng)得工資=0 where 員工號=39。 pDbExecuteSQL(insql1)。 (index,4,0)。 pDbClose()。}void CStaffSystermView::OnClearwage() { // TODO: Add your mand handler code here if(m_tableNum!=2) { AfxMessageBox(請先進(jìn)入基本工資表!)。 for(int i=0。 int basicWage。 int sj=basicWage/100。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx// (update 基本工資表 set 基本工資=%d,加班費(fèi)=0,獎金=0,遲到次數(shù)=0,稅金=%d,應(yīng)得工資=0 where 員工號=39。 pDbExecuteSQL(insql1)。 (index,5,0)。 } catch (CDBException *pEx) { pDbClose()。 } AfxMessageBox(已結(jié)算!)。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx// (select 職稱 from 員工基本信息表 where 員工號=39。 CRecordset rs(pDb)。in。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx// (select 工資 from 職稱工資表 where 職稱=39。 (CRecordset::forwardOnly,strsql1)。i++) { (工資,t)。 pDbClose()。}void CStaffSystermView::OnOvertimewage() { // TODO: Add your mand handler code here if(m_tableNum!=2) { AfxMessageBox(請先進(jìn)入基本工資表!)。 pDbClose()。 ()。 ()。 //確定彈出式菜單的位置 (TPM_LEFTALIGN,lpointx,lpointy,this)。 } else if (m_tableNum==2) { LPPOINT lpoint=new tagPOINT。//聲明一個彈出式菜單 //增加菜單項(xiàng)“關(guān)閉”,點(diǎn)擊則發(fā)送消息WM_DESTROY給主窗口,將程序結(jié)束。 (MF_STRING,WM_ADDLATE,遲到次數(shù)+1)。 //確定彈出式菜單的位置 (TPM_LEFTALIGN,lpointx,lpointy,this)。 } *pResult = 0。break。amp。 return。}void CStaffSystermView::OnButton32795() { // TODO: Add your mand handler code here OnLateadd()。 }void CStaffSystermView::OnBtnFind() { // TODO: Add your control notification handler code here CString findstr,findbasic。DSN=pubSQL。 CString table。%s39。 try { int index=0。 if(()) {AfxMessageBox(無記錄!)。 for (short i=0。 t+=s[i]。 //設(shè)置數(shù)據(jù) (index,3,s[3])。 //設(shè)置數(shù)據(jù) (index,7,s[7])。 //設(shè)置數(shù)據(jù) (index,3,s[3])。 //設(shè)置數(shù)據(jù) (index,7,s[7])。 pDbClose()。 } pDbClose()。}void CStaffSystermView::OnAddzc() { // TODO: Add your mand handler code here /**/ (amp。 }}void CStaffSystermView::OnShowzc() { // TODO: Add your mand handler code here showZCtable()。 pDbOpen(NULL,FALSE,FALSE,ODBC。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx// CString strsql=select * from 職稱工資表。 CString s[10]。i++) { (i,s[i])。 //設(shè)置數(shù)據(jù) index++。 } catch (CDBException *pEx) { pDbClose()。}///////////////////////////////////////////// 功能: 刪除表名為tablename的表,如果是員工表則關(guān)聯(lián)工資表///////////////////////////////////////////bool CStaffSystermView::deletdTable(CString tablename){int index=()。 } if(IDNO==(AfxMessageBox(是否刪除!,MB_YESNO))) return false。DSN=pubSQL。 (delete from %s where %s=39。%s39。 } } else if(m_tableNum==2) { if(IDYES==(AfxMessageBox(將同時刪除其\員工信息\,MB_YESNO))) { (delete from %s where %s=39。 pDbExecuteSQL(strsql)。 } catch (CDBException *pEx) { pExReportError()。}void CStaffSystermView::OnSavedatabase() { // TODO: Add your mand handler code here CString insql1。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx// (execute pr_backup_db 39。 ,39。 pDbExecuteSQL(insql1)。 } catch (CDBException *pEx) { pDbClose()。 CString name=工資管理系統(tǒng)_備份。,39。,fl,name,Fname)。 AfxMessageBox(還原成功!)。endifCPrize::CPrize(CWnd* pParent) : CDialog(CPrize::IDD, pParent){ pDb=new CDatabase()。UID=sql。 char m[10]。 int lateN=atoi(m)。 (%d,lateN)。,lateN,id)。 m_DataAreaSetItemText(index,4,klate)。}void CPrize::OnBtnCnacle() { // TODO: Add your control notification handler code here CPrize::OnCancel()。 SetDefID(IDC_BTN_OK)。 SetDlgItemText(IDC_EDIT_NAME,m_DataAreaGetItemText(index,1))。 //{{AFX_DATA_MAP(CAddStaff) DDX_Control(pDX, IDC_EDIT_SEX, m_sexCon)。 CString id,name,zc,sex,age,idcard,tel,bankid。 GetDlgItemText(IDC_COMBO_ZC,zc)。 GetDlgItemText(IDC_EDIT_TEL,tel)。 } if(name==) { AfxMessageBox(員工姓名不能為空!)。 } if(age==) { AfxMessageBox(年齡不能為空!)。 } if(tel==) { AfxMessageBox(聯(lián)系方式不能為空!)。 } CString insql1。%s39。%s39。%s39。%s39。 pDbClose()。 //插入行 m_DataAreaSetItemText(index,1,name)。 //設(shè)置數(shù)據(jù) m_DataAreaSetItemText(index,5,idcard)。 pDbClose()。 }}void CAddStaff::OnBtnCancle() { // TODO: Add your control notification handler code here CAddStaff::OnCancel()。 CString id,name,zc。 int basicWage=getWage(zc)。%s39。 try { pDbOpen(pubSQL)。 pExReportError()。 CString strsql。 try { CDBVariant t。 short n=()。 } ()。 } catch (CDBException *pEx) { pDbClose()。 pDbOpen(NULL,FALSE,FALSE,ODBC。 CString strsql=select 職稱 from 職稱工資表。 CString s[10]。 for (short i=0。 t+=s[i]。 pDbClose()。 // TODO: Add extra initialization here initial()。 SetDefID(IDC_BTN_OK)。 //{{AFX_DATA_MAP(CUpdateZC) DDX_Control(pDX, IDC_COMBO_ZC, m_boZC)。UID=sql。 GetDlgItemText(IDC_COMBO_ZC,oldname)。 CString strsq
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1