【正文】
rmitory dormitory information management system in the situation and a large amount of data on the basis of the database storage, implements the system maintenance, dormitory management, student management, information query, etc required functionality. This system USES Visual Basic as a frontend development tool, SQL Server as a backend database platform based on C/S two layer model of the management system. Use with the various objectoriented development tools, designed a simple operation, operation is stable, apply college dormitory management system. This system mainly includes system management, student information management, daily work management, and help and so on four big modules, the focus is on the student information management and daily work management section. In each module, must do a good input/output interface, and can do a query, delete, modify functions, etc. This system focuses on the student information management and daily work management section. Keywords: database。不同的對(duì)象,在程序中所賦給它的功能是不同的,比如,在圖形界面上有兩個(gè)命令按鈕,一個(gè)用來實(shí)現(xiàn)數(shù)據(jù)的統(tǒng)計(jì)計(jì)算,另一個(gè)用來實(shí)現(xiàn)數(shù)據(jù)的打印,這兩個(gè)按鈕就可視為是兩個(gè)不同的對(duì)象,為了實(shí)現(xiàn)這兩個(gè)對(duì)象各自不同的功能,接下來就應(yīng)該分別針對(duì)這兩個(gè)對(duì)象編寫程序代碼,這種編程的思想和方法即為所謂的“面向?qū)ο蟮某绦蛟O(shè)計(jì)”。 4 第二章 系統(tǒng)需求分析 系統(tǒng)的初步調(diào)查 經(jīng)過實(shí)際分析調(diào)查,一個(gè)學(xué)生宿舍管理系統(tǒng)主要是要方便宿舍管理人員的工作,提高其工作效率,不僅可以方便廣大學(xué)生,而且還可以方便于教師和相關(guān)人員。 9 第四章 應(yīng)用程序開發(fā) 系統(tǒng)主界面 在此系統(tǒng)中,考慮到人們的使用習(xí)慣,利用了菜單對(duì)系統(tǒng)中功能進(jìn)行分類列舉 ,通過菜單即能完成,這樣使得主界面簡(jiǎn)潔,易于使用。Persist Security Info=False。Initial Catalog=學(xué)生宿舍 。 amp。 If = Or = Or = Then MsgBox 信息輸入不完整! , vbOKOnly, 提示信息 Exit Sub End If (員工號(hào) ) = (員工姓名 ) = (職位 ) = MsgBox 修改成功! , vbOKOnly, 提示信息 16 Exit Sub errorhandler: 39。Initial Catalog=學(xué)生宿舍 。 Set = Adodc1 End Sub 12 Private Sub Command2_Click() Unload Me End Sub 添加學(xué)生信 息界面 圖 學(xué)生宿舍添加界面 圖 學(xué)生宿舍刪除界面 其主要代碼如下: 13 Private Sub Command1_Click() = Provider=。Data Source=XS07 = select 名稱 ,密碼 from 系統(tǒng)表 where 名稱=39?;拘畔⒐芾戆▽W(xué)生信息、宿舍信息、工作人員信息; 數(shù)據(jù)庫操作功能:查詢、刪除、修改、插入; 業(yè)務(wù)流程概述 系統(tǒng)的業(yè)務(wù)是系統(tǒng)要達(dá)到的業(yè)務(wù)目標(biāo),業(yè)務(wù)流程分析是系統(tǒng)分析中的 基礎(chǔ)環(huán)節(jié)。 本系統(tǒng)最大的 特點(diǎn)是通用性 、 簡(jiǎn)單操作性。采用 宿舍管理系統(tǒng) 來管理宿舍和學(xué)生的信息,大大提高了查詢的速度,節(jié)約了人力和物力資源,達(dá)到了預(yù)期的要求。 第十三天和第十五天:撰寫課程設(shè)計(jì)報(bào)告。 ? 在開發(fā)環(huán)境下,通過某種方法建立與 SQL Server 2021數(shù)據(jù)庫的連接。在每一模塊中,必須做到良好的輸入 /輸出界面,并能做查詢,刪除及修改等功能。面向?qū)ο蟮某绦蛟O(shè)計(jì)是伴隨 WIDNOWS 圖形界面的誕生而產(chǎn)生的一種新的程序設(shè)計(jì)思想,與傳統(tǒng)程序設(shè)計(jì)有著較大的區(qū)別 , VISUAL BASIC 采用了面向?qū)ο蟮某绦蛟O(shè)計(jì)思想。 SQL 查詢語言及使用 SQL 語言是結(jié)構(gòu)化語言( Structure Query Language)的縮寫,是一種用于數(shù)據(jù)庫查詢和編程的語言,已經(jīng)成為關(guān)系型數(shù)據(jù)庫普遍使用的標(biāo)準(zhǔn),使用這種標(biāo)準(zhǔn)數(shù)據(jù)庫語言對(duì)程序設(shè)計(jì)和數(shù)據(jù)庫的維護(hù)都帶來了極大的方便,廣泛地應(yīng)用于各種數(shù)據(jù)查詢。 5 圖 學(xué)生宿舍管理數(shù)據(jù)流圖 6 第三章 系統(tǒng)設(shè)計(jì) 概念結(jié)構(gòu)設(shè)計(jì) 在數(shù)據(jù)庫設(shè)計(jì)中,先要對(duì)系統(tǒng)分析所得的數(shù)據(jù)字典中的數(shù)據(jù)存儲(chǔ)進(jìn)行分析,然后得出系統(tǒng)的關(guān)系模式,可以采用 E— R 圖的方法進(jìn)行數(shù)據(jù)結(jié)構(gòu)的描述。 39。 , , 提示信息 ElseIf = 0 Then