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

正文內(nèi)容

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

2023-07-10 07:18:36 本頁面
 

【正文】 endif //_DEBUG//////////////////////////////////////// CStaffSystermView message handlersvoid CStaffSystermView::ShowStaffTable(){ m_tableNum=1。}void CStaffSystermView::Dump(CDumpContextamp。 (員工姓名)。 ResizeParentToFit()。 //}}AFX_DATA_MAP}BOOL CStaffSystermView::PreCreateWindow(CREATESTRUCTamp。 }CStaffSystermView::~CStaffSystermView(){}void CStaffSystermView::DoDataExchange(CDataExchange* pDX){ CFormView::DoDataExchange(pDX)。“工資管理系統(tǒng)”設(shè)計(jì)內(nèi)容成員:XXX、XXX、XXX、XXX、XXX、XXX、XXX一、系統(tǒng)功能分析本系統(tǒng)要求實(shí)現(xiàn)以下主要功能:主要任務(wù)是對各種工資信息進(jìn)行日常的管理,如:(1)工資信息的輸入 (2)數(shù)據(jù)的修改(3)數(shù)據(jù)的增加、刪除系統(tǒng)需要提供以下查詢功能: (1)員工基本信息情況查詢: 員工姓名,員工號,身份證號,職稱,身份證號,銀行卡號,電話(2)員工月工資情況查詢:員工號,姓名,部門名,基本工資,各種扣款,加班費(fèi),應(yīng)得工資(3)職稱基本信息情況查詢:職稱名稱,職稱基本工資二、系統(tǒng)設(shè)計(jì)的功能模塊三、ER圖設(shè)計(jì)四、需要建立的庫和表建立“工資管理系統(tǒng)”數(shù)據(jù)庫建立四張表(1)員工基本信息表(2)基本工資表(3)職稱工資表(4)用戶表五、程序和主要實(shí)現(xiàn)界面程序(1)界面35 / 35// : implementation of the CStaffSystermView class//include include include include include ifdef _DEBUGdefine new DEBUG_NEWundef THIS_FILEstatic char THIS_FILE[] = __FILE__。 //{{AFX_DATA_MAP(CStaffSystermView) DDX_Control(pDX, IDC_COMBO_FIND, m_ControlComFind)。 cs){ // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs return CFormView::PreCreateWindow(cs)。 ( LVS_EX_FLATSB //扁平風(fēng)格滾動條 |LVS_EX_FULLROWSELECT //允許整行選中 |LVS_EX_HEADERDRAGDROP //允許標(biāo)題拖拽 |LVS_EX_ONECLICKACTIVATE //高亮顯示 |LVS_EX_GRIDLINES //畫出網(wǎng)格線 )。 SetDlgItemText(IDC_COMBO_FIND,員工號)。 dc) const{ CFormView::Dump(dc)。 clearColumn()。UID=sqlc。 (CRecordset::forwardOnly,strsql)。 short n=()。i++) { (i,s[i])。 //插入行 (index,1,s[1])。 //設(shè)置數(shù)據(jù) (index,5,s[5])。 /////////////////////////////////////// ()。 ()。}void CStaffSystermView::clearColumn(){ ()。i++) { (0)。 pDbOpen(NULL,FALSE,FALSE,ODBC。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//CString strsql=select * from 基本工資表。 CString s[10]。 for (short i=0。 t+=s[i]。 //設(shè)置數(shù)據(jù) (index,3,s[3])。 //設(shè)置數(shù)據(jù) (index,7,s[7])。 pDbClose()。 }}void CStaffSystermView::OnAddstaff() { // TODO: Add your mand handler code here if(m_tableNum!=1) { AfxMessageBox(請先進(jìn)入員工基本信息表!)。 ()。DSN=pubSQL。 CODBCFieldInfo info。 (CRecordset::forwardOnly,strSQL)。 nNum++) { (nNum, info)。}void CStaffSystermView::OnLateadd() { // TODO: Add your mand handler code here if(m_tableNum!=2) { AfxMessageBox(請先進(jìn)入基本工資表!)。 pDbClose()。UID=sql。 char m[10]。 lateN++。%s39。 AfxMessageBox(已修改!)。}void CStaffSystermView::OnPrize() { // TODO: Add your mand handler code here if(m_tableNum!=2) { AfxMessageBox(請先進(jìn)入基本工資表!)。 pDbClose()。 ()。 int countNum=()。 char basicWage[10],overtimeWage[10],prizeWage[10],lateNum[10],sj[10]。 for(int i=0。 total+=part。 total+=part。 total=totalpart。,total,id)。 (index,7,klate)。 total=0。 }int CStaffSystermView::getListText(int index, int i, char *p){ (index,i,p,10)。 return。PWD=,FALSE)。 CString strsql。 try{ pDbExecuteSQL(strsql)。 } catch (CDBException *pEx) { pExReportError()。 } int index=()。 CString id,name,wageS,wageJ。 basicWage=getZCwage(id)。 CString insql1。 try { pDbOpen(pubSQL)。 (index,3,0)。(index,7,0)。 } pDbClose()。 int num=()。 CString id,name,wageS,wageJ。 basicWage=getZCwage(id)。 CString insql1。 try { pDbOpen(pubSQL)。 (index,4,0)。 pDbClose()。 index++。 CString strsql,strsql1。 try { pDbOpen(pubSQL)。 while (!()) { for (short i=0。 } ()。 CDBVariant t。in。 ()。 } return wage。 if(index0) { AfxMessageBox(請選擇一條記錄!)。m_DataArea)。//得到鼠標(biāo)位置 CMenu menu。 (MF_STRING,WM_DELETE,刪除員工)。 delete lpoint。 ()。 (MF_STRING,WM_CANCELPRIZE,取消本月獎金)。(MF_STRING,WM_CLEARWAGE,結(jié)算所有員工工資)。 delete lpoint。 case 2: deletdTable(基本工資表)。 }}void CStaffSystermView::OnButton32792() { // TODO: Add your mand handler code here if(m_tableNum!=1amp。 } else if(m_tableNum==2) { AfxMessageBox(工資表無法單獨(dú)添加!)。 }}void CStaffSystermView::OnButton32794() { // TODO: Add your mand handler code here OnPrize()。}void CStaffSystermView::OnButton32798() { // TODO: Add your mand handler code here OnTotal()。 pDbOpen(NULL,FALSE,FALSE,ODBC。 CString strsql。 (select * from %s where %s=39。 (CRecordset::forwardOnly,strsql)。 short n=()。 while (!()) { t=。 s[i].TrimRight( )。 //設(shè)置數(shù)據(jù) (index,2,s[2])。 //設(shè)置數(shù)據(jù) (index,6,s[6])。 //設(shè)置數(shù)據(jù) (index,2,s[2])。 //設(shè)置數(shù)據(jù) (index,6,s[6])。 } ()。 ()。}void CStaffSystermView::OnButton32805Printview() { // TODO: Add your mand handler code here }void CStaffSystermView::OnUpdatazcwage() { // TODO: Add your mand handler code here ()。 if(m_tableNum==3) { showZCtable()。 setColumn(職稱工資表)。PWD=,FALSE)。 try { int index=0。in。 //插入行 (index,1,s[1])。 pDbClose()。 }}void CStaffSystermView::OnButton32809Zc() { // TODO: Add your mand handler code here showZCtable()。 return false。 pDbOpen(NULL,FALSE,FALSE,ODBC。 CString strsql,strsql1。//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//try{ if (m_tableNum==1) {//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//if(IDYES==(AfxMessageBox(將同時刪除其\工資信息\,MB_YESNO))) { (delete from %s where %s=39。 pDbExecuteSQL(strsql)。 pDbExecuteSQL(strsql1)。 AfxMessageBox(已刪除!)。 return true。 CString Fname=c:\\。%s39。 try { pDbOpen(pubSQL)。 pDbClose()。 CString fl=。%s39。%s39。 pDbClose()。 }}(2)修改“基本工資表”中的數(shù)據(jù)// include include include ifdef _DEBUGdefine new DEBUG_NEWundef THIS_FILEstatic char THIS_FILE[] = __FILE__。DSN=pubSQL。 CString klate。 m_DataAreaGetItemText(index,4,m,10)。 lateN=lateN+addN。%
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1