【正文】
(用戶不存在! , 信息提示 , , )。 } 該界面是系統(tǒng)的主要操作界面,用戶可以根據(jù)自己的權(quán)限點(diǎn)擊相應(yīng)得菜單打開需要的窗體,從而進(jìn)行相應(yīng)操作。 包括權(quán)限管理、用戶管理和退出系統(tǒng)。 包括教育經(jīng)歷管理、學(xué)籍管理。 return。通過(guò)選擇權(quán)限編號(hào),修改用戶權(quán)限后,再點(diǎn)擊授權(quán),就可以授予相應(yīng)用戶相關(guān)的權(quán)限。這樣可以幫助管理員更好的管理用戶。在 ListView控件中選擇或移除相應(yīng)的權(quán)限;或選擇”全選“,用戶擁有所有權(quán)限;或選擇”清空“,用戶無(wú)任何權(quán)限。 點(diǎn)擊關(guān)閉,該窗體將會(huì)消失。amp。amp。 //先給 ListView控件初始化列頭 foreach (DataColumn col in ) { (, 150, )。 //在依次加載每行的值 ,每行的第一列值為 ID foreach (DataRow dr in ) { ListViewItem li = new ListViewItem()。 [0].Text = dr[0].ToString()。 i 。 } (li)。 點(diǎn)擊新增按鈕,用戶可以在表格里面添加一個(gè)新的用戶。如果要?jiǎng)h除用戶信息,必須先選中要?jiǎng)h除的用戶,然后點(diǎn)擊刪除按鈕。點(diǎn)擊刷新按鈕,可以從新倒入數(shù)據(jù)庫(kù)總的最新信息。 DataSet ds = (sql, , null, Users)。 = [Users]。amp。 //逐個(gè)刪除 foreach (String id in deptIds) { SqlParameter idParam = (id, , 4, (id))。 if (result == 1) { return false。 } private void tsBtnAdd_Click(object sender, EventArgs e) { //權(quán)限攔截 if (!(, 23)) { (您沒(méi)有相應(yīng)的操作權(quán)限 !, 信息提示 , , )。 } frmSysUserEdit frmSysUserEdit = new frmSysUserEdit()。 (this)。輸入正確系統(tǒng)會(huì)提示添加或修改成功。當(dāng)要?jiǎng)h除學(xué)生檔案是,必須先選中要?jiǎng)h除的項(xiàng)。 3.設(shè)計(jì)方法 主要代碼如下: public void getSchoolMgrInfo() { String sql = select as 編號(hào) , as 學(xué)生姓名 , as 學(xué)號(hào) , as 時(shí)間 , as 類別 , as 原因 , as 備注 from (SchoolMgr as t left join Student as p on =)。 if (ds != null) { ()。 } } /// summary /// 刪除學(xué)籍信息 /// /summary /// returns/returns public Boolean deleteSchoolMgrInfo(String[] Ids) { if (Ids != null amp。 0) { String sql = delete from SchoolMgr where [id] = id。 int result = (sql, , new SqlParameter[] { idParam })。 } } } return true。 return。amp。 String[] ids = new string[count]。 i count。 } if (!deleteSchoolMgrInfo(ids)) { (刪除失敗! , 失敗提示 , , )。 } } else { if ( == (是否確定刪除 ?, 刪除提示 , , )) { String[] ids = new string[] { }。 ids[0] = id。 } //刷新數(shù)據(jù) ()。 } } private void tsBtnModify_Click(object sender, EventArgs e) { //權(quán)限攔截 if (!(, 5)) { (您沒(méi)有相應(yīng)的操作權(quán)限 !, 信息提示 , , )。 } if ( 0 amp。 0) { frmSchoolMgrEdit frmSchMgrEidt = new frmSchoolMgrEdit()。 //編輯信息時(shí),顯示待修改的信息 = ([0].Cells[編號(hào)].Value)。 = ([0].Cells[原因 ].Value)。 = ([0].Cells[備注 ].Value)。 (this)。 } } private void tsBtnAdd_Click(object sender, EventArgs e) { //權(quán)限攔截 if (!(, 18)) { (您沒(méi)有相應(yīng)的操作權(quán)限 !, 信息提示 , , )。 } frmSchoolMgrEdit frmSchMgrEdit = new frmSchoolMgrEdit()。 (this)。 結(jié)束語(yǔ) 經(jīng)過(guò)幾個(gè)多月的畢業(yè)設(shè)計(jì),一個(gè)完整的學(xué)生檔案管理系統(tǒng)終于制作完畢了。 關(guān)于本系統(tǒng),雖然對(duì)學(xué)生檔案管理系統(tǒng)進(jìn)行了系統(tǒng)的創(chuàng)建,但我們不可忽略的是這個(gè)系統(tǒng)并不是完美無(wú)缺,還存在著許多 不完善的地方,其實(shí)我們要在以后的實(shí)踐中去檢驗(yàn)它的可用性,特別要考慮它的實(shí)時(shí)性和安全性,這才是我們最值得考慮的問(wèn)題,一個(gè)系統(tǒng)好不好,要經(jīng)過(guò)反復(fù)的使和才能知道,不是光是理論中分析和設(shè)計(jì)得出來(lái)的。 經(jīng)過(guò)這次畢業(yè)設(shè)計(jì),我的感想很多,首先是做程序要有熱情,只有你喜歡做了,你才能認(rèn)真的去完成它;其次要有韌性,不怕麻煩, 不怕失敗,反復(fù)調(diào)試,反復(fù)練習(xí),這樣才能找到最佳的程序設(shè)計(jì)。在畢業(yè)設(shè)計(jì)中,曾遇到過(guò)不少問(wèn)題,如果單靠我個(gè)人的努力,很難按時(shí)完成畢業(yè)設(shè)計(jì),在此,我衷心感謝我的指導(dǎo)老師 —— ****老師,我從 ***老師身上學(xué)到了很多東西。她無(wú)論在理論上還是在實(shí)踐中,都給與我無(wú)私幫助和悉心的教導(dǎo),使我的畢業(yè)設(shè)計(jì)得以順利地按時(shí)完成。 參考文獻(xiàn) [1] 吳明輝、胡煜、竇亮,《商務(wù)應(yīng)用系統(tǒng)開發(fā)實(shí)例導(dǎo)航》,中文第 1版,北京,人民郵電出版社, 2020年 [2] 鄧文淵、挑戰(zhàn),《互動(dòng)網(wǎng)站百寶箱》,北京,中國(guó)鐵道出版社, 2020年 [3] 石志國(guó),《 C開發(fā)寶典》,北京,清華大學(xué)出版社, 2020年 [4] 蒙新 ,《 C編程技術(shù)與綜合實(shí)例演練 》 ,北京 ,清華大學(xué)出版社 ,2020年 [5] 丁貴廣 , 《 C編程基礎(chǔ)與實(shí)例 》, 北京 , 機(jī)械工業(yè)出版社 , 2020 [6] 張海藩,《軟件工程導(dǎo)論》, 2020年,清華大學(xué)出版社 [7] 李存斌、樊建平,《 C高級(jí)編程及項(xiàng)目應(yīng)用開發(fā)》, 2020年,中國(guó)水利水電出版社 [8] 魏善沛編著 .《數(shù)據(jù)庫(kù)技術(shù)實(shí)用教程》 .北京 . 清華大學(xué)出版社 .1998 [9] [美 ] Jeffrey ,《 Fundamental Course of Database System》, TsingHua Press,2020年 11月。 [11] 隆華軟件工作室 編著,《 SQL Server 2020 程序設(shè)計(jì)》,清華大學(xué)出版社, 2020 年 10月。Instead of where?39。Wherever he went to when he disappeared from the mue,39。 an answer is that?39。Th 39。 he said. 39。 I finaLly matiaged to loosen my larynx. 39。 What a quest ion. 13 iii at t lie t i m e, I had no idea where it was going to lead me. 39。i eyes. There was something unnerving about the way he would look at you. It reminded me of a falcon. The way they fix on you a s they sit on their handler39。I39。 I felt the bottom drop out ofmy stomach. It was the 39。 that did it. It meant that I was involved. That he not only knew my name but also had my number. And I remember cursing my luck and thinking if only it hadn39。s a question I still ask myself. Why pick on me? But on the other hand, when you think about it, why not? After all, the first time around, The Man just hauled a bunch of fishermen off the end oithe pier at Capernaum. I39。re all in this together, whether we like it or not. The Man took in the view from the porch then turned back to me. 39。 That threw me too. I mean, you ~n39。s not unreasonable to assume that he knows where he is. 39。re in a place calLed Sleepy Hollow in upstate New York,39。aid. I39。