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

正文內(nèi)容

成績管理系統(tǒng)mfccsql20xx系統(tǒng)開發(fā)(存儲(chǔ)版)

2025-10-19 09:02上一頁面

下一頁面
  

【正文】 ated message map functions //{{AFX_MSG(CGradeMSDlg) virtual BOOL OnInitDialog()。 } 2 主窗口源代碼 /**************************/ class CGradeMSDlg : public CDialog { public: CGradeMSDlg(CWnd* pParent = NULL)。 10 try { //是否已連接數(shù)據(jù)庫 if(m_pConnection==NULL) //未連接 OnInitADOConn()。 } } 9 /*********************************************************************************** * 函 數(shù)名: _RecordsetPtramp。Integrated Security=SSPI。如下圖 2_3為游客頁,圖 2_4為學(xué)生頁,圖 2_5為教師頁。 三,同其他系統(tǒng)關(guān)聯(lián) 本系統(tǒng)僅對成績進(jìn)行管理,對學(xué)生基本信息,教師基本信息,課程基本信息為只讀操作, 這些信息的管理為其他管理系統(tǒng)的功能。 學(xué) 號班 級姓 名密 碼學(xué) 生課 程 教 師成 績學(xué) 號課 程 號成 績職 工 號姓 名 密 碼課 程 號課 程 名查 看上 傳授 課課 程 號職 工 號班 級成 績 上 傳 日 期 成 績 上 傳 狀 態(tài)M 11NB A 圖 2_1 成績管理系統(tǒng) ER圖 二,系統(tǒng)角色設(shè)計(jì) 系統(tǒng)分 3個(gè)角色,游客,學(xué)生,教師 。 其中各模塊對 4 應(yīng)的源文件見附錄 2 系統(tǒng)源代碼 。\ Data Source=%s,DATABASENAME,SERVERNAME)。 //創(chuàng)建記錄集對象 (__uuidof(Recordset))。 } catch(__error e) { ()。 TeaPage teaPage。 afx_msg HCURSOR OnQueryDragIcon()。 ********************** /******************************************************************************************* * 函數(shù)名: HCURSOR CGradeMSDlg::UpdateFuncList()。 (amp。 // insert items (0, _T(OutlookBar))。 (SW_SHOW)。 break。 CString sql。 if (adoEOF) { AfxMessageBox(沒有這個(gè)職工號 !!!)。 return。,\ sclass as 39。 ()。姓名 39。 (sql)。 } 15 BEGIN_EVENTSINK_MAP(TeaPage, CDialog) //{{AFX_EVENTSINK_MAP(TeaPage) ON_EVENT(TeaPage, IDC_DATAGRIDTEA, 600 /* Click */, OnClickDatagridtea, VTS_NONE) //}}AFX_EVENTSINK_MAP END_EVENTSINK_MAP() void TeaPage::OnClickDatagridtea() { // TODO: Add your control notification handler code here //AfxMessageBox(())。 CString strtemp。 local_ame = ()。 if (IDNO == AfxMessageBox(strtemp,MB_YESNO)) { return。 } if (adoBOF) { MoveFirst()。 strtemp = (7,3)。 strtemp = (2)。 } } 17 (%s班 %s 成績表 ,local_class,local_ame)。,isrflag+datepass,m_tno,local_class,local_o)。 CString sql。 (_bstr_t(sql))。 ()。 } var = GetCollect(failecount)。 return。,tname as 39。 UpdateData(false)。班級 39。 ()。,tname as39。,average as39。,grade as 39。from temp drop table temp /*************************/ /************************************************************** * 存儲(chǔ)過程 gradenew * isr smallint 0還未上傳, 1為已上傳但在修改限制日期 ,2為不可修改 * tno 教師號, sclass 班級, o課程號 ***************************************************************/ create proc gradenew isr smallint, tno char(11), sclass char(7), o char(6) as set nocount on if isr=0 begin insert into grade(sno,o,grade) select sno,o,0 from student where sclass = sclass end if isr!=2 begin 22 update tcourse set isr = 1, rdate = getdate() where sclass=sclass and tno=tno and o=o end /*****新成績默認(rèn)置 0,再反饋給教師修改 *****/ select sname as 39。,stoe as39。 select upe = count(),sum=sum(grade)from student,grade where = and = o and sclass = sclass and grade =80 if sum0 begin set average=sum end select stoe = count(),sum=sum(grade) from student,grade where = and = o and sclass = sclass and grade =60 and grade80 if sum0 begin set average=average+sum end select downs = count(),sum=sum() from student,grade 21 where = and = o and sclass = sclass and grade 60 select ame=ame from course where o = o select tname=tname from teacher where tno = tno if sum0 begin set average=average+sum end set pass=convert(real,(stoe+upe),1)/(stoe+upe+downs) set average = average /(stoe+upe+downs) insert into temp(sclass,ame,tname,upe,stoe,downs,average,pass) values(sclass,ame,tname,upe,stoe,downs,average,pass) fetch next from local_cursor into sclass,tno,o end close local_cursor deallocate local_cursor select sclass as 39。 m_sno = _T()。姓名 39。 ()。 19 /***更新 grid表格 *******/ (select ame as 39。 } /***查詢平均分 ******/ (select avg(grade) as average from grade\ where sno=%s,m_sno)。 (strtemp)。 } if (adoBOF) { 18 MoveFirst()。 if (0 == ()) { AfxMessageBox(學(xué)號不能為空 !!!!)。 if (datepass) { (false)。,39。 //AfxMessageBox((%Y,%m,%d,%H,%M,%S))。 strtemp = (3)。 strtemp = (4)。 (_bstr_t(sql))。 //是否以上傳成績
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1