【正文】
} catch (SqlException ex) { throw ex。 + Session[xuehao].ToString() + 39。buttontext39。39。 } } protected void dlinfo_RowDeleting(object sender, GridViewDeleteEventArgs e) { } private void getinfo() { try { = GetCodeBy(0)。 } } protected void btnAdd_Click(object sender, EventArgs e) { chkpwd()。 } } private void chkpwd() { SqlDataReader dr。 string name = Session[UserName].ToString()。 + + 39。 + + 39。 ()。 using 。 using 。 } else { (管理員的賬號(hào)或者密碼不對(duì)請重新登陸! , )。 + () + 39。 if (()) { Session[UserName] = dr[UserName].ToString()。 } } } private void StudentLogin() { if ( == amp。 + () + 39。)。 Alert js = new Alert()。 using 。 希望這次的經(jīng)歷能在以后學(xué)習(xí)中激勵(lì)我們繼續(xù)進(jìn)步。雖然這個(gè)學(xué)生成績管理系統(tǒng)現(xiàn)階段還不是很成熟,還有很多不足之處,功能方面實(shí)現(xiàn)的也不是很完整,如缺少成 績統(tǒng)計(jì)、成績打印輸出等功能,但系統(tǒng)里面的每一段代碼,都是我們辛苦勞動(dòng)的成果。 圖 415 學(xué)生選擇的課 程 學(xué)生課程成績查詢: 圖 416 學(xué)生成績查詢 注:其他具體操作均與管理員操作大同小異,這里不再進(jìn)行詳細(xì)介紹。同樣的課程的編號(hào)不允許重復(fù)添加,所以在添加課程信息的時(shí)候首先要對(duì)課程的編號(hào)進(jìn)行驗(yàn)證,判斷是否已經(jīng)在數(shù)據(jù)庫中存在,如果已經(jīng)存在給出提示,如果不存在就能添加,添加的課程信息包括課程的編號(hào)、課程的名稱、課程的學(xué)分、課程的備注信息等信息。ApplicationName=MicrosoftSQLServerManagementStudioExpress” providerName=” qlClient” / /connectionStrings 要連接數(shù)據(jù)庫首先要打開數(shù)據(jù)庫,我們打開 SQLserver20xx 管理器,對(duì)數(shù)據(jù)庫進(jìn)行 相關(guān)操作,登陸界面如圖 51 所示。 (一)數(shù)據(jù)庫連接 本系統(tǒng)連接數(shù)據(jù)庫采用 WEB。其界面設(shè)計(jì)樣式如圖 52 所示。 表 32 Course 序號(hào) 英文名 中文名 類型 長度 (字符 ) 1 id 編號(hào) int 4 2 courseID 課程編號(hào) nvarchar 50 3 courseName 課程名稱 nvarchar 50 4 TeacherId 教師工號(hào) nvarchar 50 5 credithour 學(xué)分 nvarchar 50 6 term 學(xué)期 nvarchar 50 7 classname 班級(jí)名稱 nvarchar 50 8 Address 上課地點(diǎn) nvarchar 50 9 BeginTime 上課時(shí)間 nvarchar 50 10 zhuanyeid 專業(yè)編號(hào) Int 4 11 xueyuanid 學(xué)院編號(hào) Int 4 ( 3) SelectCourse 選課關(guān)系 信息表,如 下 表所示。 代碼是代表事物名稱、屬性、狀態(tài)等的符號(hào),通常是字母、數(shù)字的組合。 業(yè)務(wù)邏輯層是系統(tǒng)核心部分,主要擔(dān)當(dāng)業(yè)務(wù)的邏輯處理任務(wù),包括處理接口層的 Http 請求,為用戶界面層提供業(yè)務(wù)功能同時(shí)通過數(shù)據(jù)層來訪問數(shù)據(jù)庫。 (二)物理配置方案設(shè)計(jì) 系統(tǒng)采用 B/多層體系結(jié)構(gòu),將信息分配到校園網(wǎng)絡(luò)的 Web 服務(wù)器上,并通過 Web 服務(wù)器訪問SQL Server 20xx 數(shù)據(jù)庫,實(shí)現(xiàn)數(shù)據(jù)的各項(xiàng)操作。輸出學(xué)生基本 信息,學(xué)號(hào)、班號(hào)、姓名查詢的信息結(jié)果。 (一)系統(tǒng)總體設(shè)計(jì) 完成了系統(tǒng)的概念結(jié)構(gòu)分析之后,就進(jìn)入了系統(tǒng)的設(shè)計(jì)階段,在整個(gè)系統(tǒng)的開發(fā)時(shí)期中,設(shè)計(jì)階段是最主要的階段。它們存放 在 系統(tǒng) 表空間中。 山東財(cái)經(jīng)大學(xué)學(xué)士學(xué)位論文 5 圖 25 系統(tǒng)流程頂層 0 層圖如下所示: 圖 26 系統(tǒng)流程 0 層 1 層圖(學(xué)生成績信息管理)如下所示: 山東財(cái)經(jīng)大學(xué)學(xué)士學(xué)位論文 6 圖 27 系統(tǒng)流程 1 層(學(xué)生成績信息管理) 1 層圖(登錄管理)如下所示: 圖 28 系統(tǒng)流程 1 層 (登陸管理) 1 層圖(用戶管理)如下所示: 管理員 學(xué)生成績修改 學(xué)生成績錄入 學(xué)生成績刪除 學(xué)生成績信息表 用戶 成績查詢 查詢條件 成績信息 管理員 管理員登錄信息 確認(rèn)信息 登 陸 類型 管理 用戶登錄信息 確認(rèn)信息 用戶 山東財(cái)經(jīng)大學(xué)學(xué)士學(xué)位論文 7 圖 29 系統(tǒng)流程 1 層(用戶管理) 數(shù)據(jù)庫的重要部分是數(shù)據(jù)字典。 5)成績管理模塊 成績管理模塊:主要包含成績管理功能。 ( 5)具有豐富的查詢功能,能對(duì)學(xué)生信息、課程信息、成績信息等進(jìn)行查詢。 在每個(gè)學(xué)期開始,教務(wù)處根據(jù)班級(jí)的情況,以班為單位,為每個(gè)班級(jí)安排一個(gè)班主任及對(duì)此年級(jí)安排一個(gè)年級(jí)組長,并對(duì)各科老師進(jìn)行安排。論文中將對(duì) 進(jìn)行簡要介紹。該系統(tǒng)面向管理員、教師和學(xué)生,實(shí)現(xiàn)了對(duì)教師、學(xué)生、課程、成績信息情況等的計(jì)算機(jī)管理。 17 (一)數(shù)據(jù)庫連接 .................................................................... 17 (二)管理員用戶操作界面 ............................................................ 18 .................................................................... 18 .................................................................... 19 .................................................................... 20 .................................................................... 22 (三)教師用戶操作界面 .............................................................. 22 (四)學(xué)生用戶操作界面 .............................................................. 24 (五)系統(tǒng) 測試 ...................................................................... 24 .................................................................... 24 .................................................................... 25 .................................................................... 25 五、總結(jié) 關(guān)鍵詞 : sql20xx; ;成績查詢;成績管理系統(tǒng) 山東財(cái)經(jīng)大學(xué)學(xué)士學(xué)位論文 Design and Implementation of Performance Management System Based On WEB ABSTRACT The main task of the development of this system is to plete the management of students’ achievement information in tedious daily teaching work. The system can reduce the staff working pressure to a certain extent and speed up the query and management of the relevant information to make the management of the daily teaching work more standardized and efficient. The student achievement management system is a typical information management system whose development mainly includes the establishment and maintenance of the backstage database and the development of front application program. For the former it’s required to establish the database with great data consistency and integrality, as well as good security of data .While for latter it also requires the application program is fully functional , easy to use , the interface is simple and beautiful and so on . Visual Studio 20xx is used in this system, using its offer of objectoriented development tools, in particular to facilitate the window and concise data manipulation database intelligent objects. At first prototype is applied in the system in short period .Then start requirement iteration in the prototype system, making adjustment and improvements until the satisfied and feasible system is formed. Keywords:sql20xx。 山東財(cái)經(jīng)大學(xué) 本科畢業(yè)設(shè)計(jì) 題目: 基于WEB的成績管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 學(xué) 院 管理科學(xué)與工程學(xué)院 專 業(yè) 工程管理 班 級(jí) 學(xué) 號(hào) 011001010 01110452137 0110010578 姓 名 宗子 陶子 李子 指導(dǎo)教師 宗子 山東財(cái)經(jīng)大學(xué)教務(wù)處制 二O一 五 年 四 月