【正文】
tory 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。不同的對象,在程序中所賦給它的功能是不同的,比如,在圖形界面上有兩個命令按鈕,一個用來實現(xiàn)數(shù)據(jù)的統(tǒng)計計算,另一個用來實現(xiàn)數(shù)據(jù)的打印,這兩個按鈕就可視為是兩個不同的對象,為了實現(xiàn)這兩個對象各自不同的功能,接下來就應該分別針對這兩個對象編寫程序代碼,這種編程的思想和方法即為所謂的“面向?qū)ο蟮某绦蛟O計”。 4 第二章 系統(tǒng)需求分析 系統(tǒng)的初步調(diào)查 經(jīng)過實際分析調(diào)查,一個學生宿舍管理系統(tǒng)主要是要方便宿舍管理人員的工作,提高其工作效率,不僅可以方便廣大學生,而且還可以方便于教師和相關(guān)人員。 9 第四章 應用程序開發(fā) 系統(tǒng)主界面 在此系統(tǒng)中,考慮到人們的使用習慣,利用了菜單對系統(tǒng)中功能進行分類列舉 ,通過菜單即能完成,這樣使得主界面簡潔,易于使用。Persist Security Info=False。Initial Catalog=學生宿舍 。 amp。 If = Or = Or = Then MsgBox 信息輸入不完整! , vbOKOnly, 提示信息 Exit Sub End If (員工號 ) = (員工姓名 ) = (職位 ) = MsgBox 修改成功! , vbOKOnly, 提示信息 16 Exit Sub errorhandler: 39。Initial Catalog=學生宿舍 。 Set = Adodc1 End Sub 12 Private Sub Command2_Click() Unload Me End Sub 添加 學生信息界面 圖 學生宿舍添加界面 圖 學生宿舍刪除界面 其主要代碼如下: 13 Private Sub Command1_Click() = Provider=。Data Source=XS07 = select 名稱 ,密碼 from 系統(tǒng)表 where 名稱=39?;拘畔⒐芾戆▽W生信息、宿舍信息、工作人員信息; 數(shù)據(jù)庫操作功能:查詢、刪除、修改、插入; 業(yè)務流程概述 系統(tǒng)的業(yè)務是系統(tǒng)要達到的業(yè)務目標,業(yè)務流程分析是系統(tǒng)分 析中的基礎環(huán)節(jié)。 本系統(tǒng) 最大的特點是通用性 、 簡單操作性。采用 宿舍管理系統(tǒng) 來管理宿舍和學生的信息,大大提高了查詢的速度,節(jié)約了人力和物力資源,達到了預期的要求。 第十三天和第十五天:撰寫課程設計報告。 ? 在開發(fā)環(huán)境下,通過某種方法建立與 SQL Server 2021數(shù)據(jù)庫的連接。在每一模塊中,必須做到良好的輸入 /輸出界面,并能做查詢,刪除及修改等功能。面向?qū)ο蟮某绦蛟O計是伴隨 WIDNOWS 圖形界面的誕生而產(chǎn)生的一種新的程序設計思想,與傳統(tǒng)程序設計有著較大 的區(qū)別, VISUAL BASIC 采用了面向?qū)ο蟮某绦蛟O計思想。 SQL 查詢語言及使用 SQL 語言是結(jié)構(gòu)化語言( Structure Query Language)的縮寫,是一種用于數(shù)據(jù)庫查詢和編程的語言,已經(jīng)成為關(guān)系型數(shù)據(jù)庫普遍使用的標準,使用這種標準數(shù)據(jù)庫語言對程序設計和數(shù)據(jù)庫的維護都帶來了極大的方便,廣泛地應用于各種數(shù)據(jù)查詢。 5 圖 學生宿舍管理數(shù)據(jù)流圖 6 第三章 系統(tǒng)設計 概念結(jié)構(gòu)設計 在數(shù)據(jù)庫設計中,先要對系統(tǒng)分析所得的數(shù)據(jù)字典中的數(shù)據(jù)存儲進行分析,然后得出系統(tǒng)的關(guān)系模式,可以采用 E— R 圖的方法進行數(shù)據(jù)結(jié)構(gòu)的描述。 39。 , , 提示信息 ElseIf = 0 Then