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

正文內(nèi)容

c題庫管理系統(tǒng)-資料下載頁

2025-01-21 03:50本頁面

【導(dǎo)讀】使用MICROSOFT公司的ACCESS作為后臺數(shù)據(jù)庫,設(shè)計數(shù)。的各種面向?qū)ο蟮拈_發(fā)工具,使用ADO控件連接數(shù)據(jù)庫,開發(fā)出產(chǎn)品。人們可以利用計算機進行各種活動,以減少人的大量的勞動。信息時代也帶來了。動,而且可以大大提高教學(xué)質(zhì)量。這種背景下,試題庫管理系統(tǒng)被提到了,也就是試。題的集成,試卷生成,和無紙考試。該系統(tǒng)試題庫管理是對提交到數(shù)據(jù)庫中的,大量試題信息進行管理。

  

【正文】 ┊ ┊ ┊ ┊ ┊ 函數(shù)具體實現(xiàn)如下: void CMainFrame::OnSysQuit() { // TODO: Add your mand handler code here if(AfxMessageBox(您確定要退出系統(tǒng)嗎 ?,MB_OKCANCEL)==IDCANCEL) { return。 } CFrameWnd::OnClose()。 } void CMainFrame::OnSysReload() { // TODO: Add your mand handler code here CLoginDlg Dlg。 ()。 } xxx大學(xué) 畢業(yè)設(shè)計(論文)報告紙 25 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ void CMainFrame::OnSysUser() { // TODO: Add your mand handler code here CUserDlg UserDlg。 ()。 } void CMainFrame::OnUpdateSysUser(CCmdUI* pCmdUI) { // TODO: Add your mand update UI handler code here CTestingApp* ptheApp = (CTestingApp *) AfxGetApp()。 pCmdUIEnable(ptheAppm_bIsAdmin)。 } void CMainFrame::OnSysTmanag() { // TODO: Add your mand handler code here CTmanagDlg TmanagDlg。 ()。 } void CMainFrame::OnClose() { // TODO: Add your message handler code here and/or call default if(AfxMessageBox(您確定要退出系統(tǒng)嗎 ?,MB_OKCANCEL)==IDCANCEL) { return。 } CFrameWnd::OnClose()。 } void CMainFrame::OnUpdateSysTmanag(CCmdUI* pCmdUI) { // TODO: Add your mand update UI handler code here CTestingApp* ptheApp = (CTestingApp *) AfxGetApp()。 pCmdUIEnable(ptheAppm_bIsAdmin)。 } void CMainFrame::OnSysBmanag() { xxx大學(xué) 畢業(yè)設(shè)計(論文)報告紙 26 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ // TODO: Add your mand handler code here CBManagDlg BmanagDlg。 ()。 } void CMainFrame::OnUpdateSysBmanag(CCmdUI* pCmdUI) { // TODO: Add your mand update UI handler code here CTestingApp* ptheApp = (CTestingApp *) AfxGetApp()。 pCmdUIEnable(ptheAppm_bIsAdmin)。 } void CMainFrame::OnSysChoose() { // TODO: Add your mand handler code here CChooseDlg ChooseDlg。 ()。 } void CMainFrame::OnSysExam() { // TODO: Add your mand handler code here CExamDlg ExamDlg。 ()。 } void CMainFrame::OnUpdateSysChoose(CCmdUI* pCmdUI) { // TODO: Add your mand update UI handler code here pCmdUIEnable(!HavEx)。 } void CMainFrame::OnUpdateSysExam(CCmdUI* pCmdUI) { // TODO: Add your mand update UI handler code here pCmdUIEnable(HavEx)。 } void CMainFrame::OnSysChengj() { xxx大學(xué) 畢業(yè)設(shè)計(論文)報告紙 27 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ // TODO: Add your mand handler code here CChengJM ChengjDlg。 ()。 } void CMainFrame::OnUpdateSysChengj(CCmdUI* pCmdUI) { // TODO: Add your mand update UI handler code here CTestingApp* ptheApp = (CTestingApp *) AfxGetApp()。 pCmdUIEnable(ptheAppm_bIsAdmin)。 } 主框架類的包含文件如下:(需要手動輸入,放在 文件開始處) include include include include include include include 試題管理對話框 在這兩個對話框中可以進行試題的添加、修改、刪除操作,另外還有查詢試題功能,可以很方便用戶的試題 管理。 用戶在進行試題管理,還要能動態(tài)看到更改的結(jié)果,要在對話框的內(nèi)部給出操作代碼,只有這樣才能給用戶一個盡量友好的界面。 在進行數(shù)據(jù)庫操作時要小心數(shù)據(jù)庫字段名的拼寫;還要注意,用于數(shù)據(jù)庫操作的SQL 語句的格式,在 VC++ 中 SQL 語句的格式化中,字符串要用單引號,還有條件格式也不盡相同。 試題管理 模塊,是管理員用戶對試題進行維護的一個模塊,可提供試題的添加、刪除、修改。這里也要用數(shù)據(jù)庫管理類,本程序的公有變量 g_odbcDB 的成員函數(shù)可以提供對數(shù)據(jù)庫表的添加、刪除、修改操作。這里要給對話框上的控 件添加變量。選擇和填空不完全一樣,下面分別說明: 對話框界面效果如下圖: xxx大學(xué) 畢業(yè)設(shè)計(論文)報告紙 28 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 給控件綁定變量,如下圖所示: 給控件綁定變量要注意變量的類型,不要搞錯了,在綁定好類型后只要用對話框類的UPDATEDATA();函數(shù)就可以把控件的值傳給對應(yīng)的變量, UPDATEDATA( FALSE); 就可以把變量的值傳給控件。這就是與用戶交互的手段之一,然后就可以由得到的信息對數(shù)據(jù)庫進行操作了。 為了能按用戶的操作完成響應(yīng)的功能,要在對話框中來完成,給新 建、修改、刪除添加處理函數(shù)。 還要給對話框 添加 初始化函數(shù) 來完成一些必須的初始化工作 : xxx大學(xué) 畢業(yè)設(shè)計(論文)報告紙 29 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 用來 響應(yīng)用戶的操作,完成添加刪除等功能。具體的函數(shù)代碼如下: void CBManagDlg::OnButtonCl() { // TODO: Add your control notification handler code here m_strBBody= 。 m_strBAnswer =。 m_intFen=0。 m_strZhangid=。 m_strUser=。 UpdateData(FALSE)。 } void CBManagDlg::OnButtonDelet() { // TODO: Add your control notification handler code here CString outprint。 UpdateData(TRUE)。 xxx大學(xué) 畢業(yè)設(shè)計(論文)報告紙 30 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ int i = ()。 m_strUser = (i,0)。 //判斷是否指定用戶 if(m_strUser==) { MessageBox(請選擇一個試題! )。 return。 } (您確定要刪除 %s 試題 %s ???,m_strZhangid,m_strUser)。 if(AfxMessageBox(outprint,MB_OKCANCEL)==IDCANCEL) { return。 } CString strSQL。 (delete from tiank_tab where tiankid=%d,atoi(m_strUser))。 //刪除該用戶 (strSQL)。 //刷新用戶列表 RefreshData()。 m_strBBody= 。 m_strBAnswer= 。 m_intFen=0。 UpdateData(FALSE)。 } v
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1