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

正文內(nèi)容

成績(jī)管理系統(tǒng)mfccsql20xx系統(tǒng)開(kāi)發(fā)-免費(fèi)閱讀

  

【正文】 , as 39。, downs as39。,ame as39。 m_fail = 0。學(xué)號(hào) 39。 ()。,\ grade as 39。 if (adoEOF) { AfxMessageBox(沒(méi)有可查詢的成績(jī) ,請(qǐng)等待老師上傳 !!!)。 (_bstr_t(sql))。 //AfxMessageBox((LPCSTR)_bstr_t(var))。 } thisSetDlgItemText(IDC_BUTTONLOG,....)。 //允許修改 } } 4 學(xué)生窗口源代碼 /********************/ void StuPage::OnButtonlog() //登入 { // TODO: Add your control notification handler code here UpdateData(true)。,39。 if (currentt radtetime) //已超過(guò)可修改時(shí)間內(nèi) { datepass = 1。 strtemp = (3,3)。 strtemp = (5,2)。 ()。 if (0==()||0==()) { return。 local_o = ()。 CString local_o。 UpdateData(false)。成績(jī)上傳 39。 tlogflag = 0。\ from tcourse,course \ where = \ and tno=%s,m_tno)。,ame as 39。 if (((LPCSTR)_bstr_t(var))) //密碼錯(cuò)誤 { AfxMessageBox(密碼錯(cuò)誤 !!!!)。 (select * from teacher where tno=%s,m_tno)。 } 3 教師窗口主要源代碼 /****************************/ void TeaPage::OnButtontlog() //教師登入 { // TODO: Add your control notification handler code here UpdateData(true)。 (SW_SHOW)。 switch(index) { case TEAPAGE: //顯示教師頁(yè) { (SW_HIDE)。 //綠色 (RGB(87,166,117))。 hIcon = ::LoadIcon (AfxGetResourceHandle(), MAKEINTRESOURCE(IDI_STUICON))。 //把子窗口嵌入父窗口 void ActivatePage(int index)。 afx_msg void OnSysCommand(UINT nID, LPARAM lParam)。 // standard constructor StuPage stuPage。 m_pConnectionExecute(bstrSQL,NULL,adCmdText)。 ADOConn::GetRecordSet(_bstr_t bstrSQL) * 功能: 獲取數(shù)據(jù)庫(kù)查詢記錄集 * 參數(shù): _bstr_t bstrsql(數(shù)據(jù)庫(kù)語(yǔ)句 ) * 全局變量: m_pConnection(數(shù)據(jù)庫(kù)連接指針 ) m_pRecordset(數(shù)據(jù)庫(kù)記錄集指針 ) * 返回值: m_pRecordset 引用 ***********************************************************************************/ _RecordsetPtramp。\ Persist Security Info=False。 圖 2_3 游客頁(yè) 圖 2_4學(xué)生頁(yè) 圖 2_5 教師頁(yè) 系統(tǒng)模塊在上述三界面為基礎(chǔ)的角色上曾加一個(gè)數(shù)據(jù)庫(kù)常用操作模塊。 2 系統(tǒng)設(shè)計(jì) 一,數(shù)據(jù)庫(kù)設(shè)計(jì) 學(xué)生表( 學(xué)號(hào) ,姓名, 班級(jí)號(hào), 密碼) 教師表( 教師號(hào) ,姓名,密碼) 課程表( 課程號(hào) ,課程名) 成績(jī)表( 學(xué)號(hào),課程號(hào) ,成績(jī)) 教師授課表( 課程號(hào),班級(jí)號(hào) , 教師號(hào) ,成績(jī)上傳日期, 已 上傳成績(jī)否 ) 相應(yīng) ER圖如圖 2_1。 數(shù)據(jù)庫(kù)中的各表見(jiàn)附錄 1。如圖 2_6。Initial Catalog=%s。 ADOConn::GetRecordSet(_bstr_t bstrSQL) { try { //連接數(shù)據(jù)庫(kù),如果 connection對(duì)象為空,則重新連接數(shù)據(jù)庫(kù) if(m_pConnection==NULL) OnInitADOConn()。 return true。 //子對(duì)話框 WelPage welPage。 afx_msg void OnPaint()。//顯示活動(dòng)頁(yè) DECLARE_MESSAGE_MAP() }。 (hIcon)。//藍(lán)色 (RGB(87,166,117))。 (SW_HIDE)。 (SW_HIDE)。 ADOConn adotemp。 (_bstr_t(sql))。 ()。課程名 39。 (sql)。 //未登入狀態(tài) (select tname as 39。\ from tcourse,course,teacher\ where = \ and = )。 GetDlgItem(IDC_BUTTONTOLOG)EnableWindow(false)。 bool isrflag。 (1)。 //直接返回 } (是真的要上傳或修改 %s%s的成績(jī) ??,local_class,local_ame)。 return。 //提取月 int month = _ttoi(strtemp)。 //分 int minite = _ttoi(strtemp)。 AfxMessageBox(您的科目已超過(guò) 3個(gè)工作日 ,只能查看 )。%s39。 ADOConn adotemp。 (select * from student where sno=%s,m_sno)。 if (((LPCSTR)_bstr_t(var))) //密碼錯(cuò)誤 { AfxMessageBox(密碼錯(cuò)誤 !!!!)。 if (!adoEOF) { if (adoBOF) { MoveFirst()。 ()。分?jǐn)?shù) 39。 GetDlgItem(IDC_BUTTONSOLOG)EnableWindow(TRUE)。,sclass as 39。 m_password = _T()。課程名 39。不及格人數(shù) 39。學(xué)號(hào) 39。姓名 39。60分到 80分人數(shù) 39。班級(jí) 39。 m_average = 。,\ sno as 39。 thisSetDlgItemText(IDC_BUTTONLOG,已登入 )。課程 39。 (_bstr_t(sql))。 /***查詢不及格門數(shù) *****/ (select count(o) as failecount from grade\ where sno = %s and grade 60,m_sno)。 } var = GetCollect(spassword)。 return。 //不允許修改 } else { (true)。%s39。 CTime currentt = CTime::GetCurrentTime()。 //小時(shí) int hour = _ttoi(strtemp)。 //提取年 int year = _ttoi(strtemp)。 if (adoEOF) { AfxMessageBox(local_o)。 //AfxMessageBox(local_ame+local_class)。 //默認(rèn)沒(méi)超過(guò)修改期限 (0)。 CString local_rdate。 ()。,isr as 39。 } void TeaPage::OnButtontoutlog() { // TODO: Add your control notification handler code here CString sql。上傳日期 39。課程號(hào) 39。 //AfxMessageBox((LPCSTR)_bstr_t(var))。 } thisSetDlgItemText(IDC_BUTTONTLOG,正在核對(duì)信息 ...)。 UpdateData(false)。 } case STUPAGE: //顯示學(xué)生頁(yè) { 13 (SW_HIDE)。 * 功能: 顯示活動(dòng)頁(yè) *************************************************************************************/ void CGradeMSDlg::ActivatePage(int index) { SendMessage(RNEW,NULL,NULL)。 // change colors (RGB(6,247,13))。 12 (hIcon)。 //初始化功能選擇列表 void MoveChild()。 // Gener
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1