"Student elective performance management system" sample program verification PowerBuilder version

project based on数据库实用教程/董健全,丁宝康编著. ——4版. ——北京:清华大学出版社

Database Practical Tutorial

1. Purpose and Requirements

  1. Through the verification of the sample program, learn the basic method of developing the management system.
  2. Read, understand and operate according to the content introduced in the development project of "Student Course Selection and Grade Management System" and the requirements of this experiment.
  3. Learn and master the steps and methods of building application programs with the tools provided by the PowerBuilder development environment.
  4. Learn and master the debugging sequence (Debug) provided by PowerBuilder to debug the application program.

2. Experimental steps

According to the content introduced in the development process of "Student Course Selection and Grade Management System", perform the following operations:

  1. Create a workspace and a target Student under the Student directory on the D drive.

  2. Create an Application object Student.

  3. Connect to the SQL database student created in "Experiment 1".

  4. Create 9 data windows (DataWindow) in the application, including four data windows without parameters:

    教师表(d_t)

    学生表(d_s)

    课程表 (d_c)

    成绩分布情况(d_score_dis)

    There are also five data windows with parameters:

    成绩输入-带参数cnum(d_score_input)

    学生成绩报告单(d_student_score_report)

    学生详细信息-带参数snum(d_select_student)

    学生成绩-带参数snum(d_select_student_score)

    学生选课情况-带参数snum(d_select_student_course)

  5. Create 9 windows (Window) in the application, including:

    系统登录(w_login)

    管理员维护(w_manage)

    课程表(w_create_course)

    学生表(w_create_student)

    教师表(w_create_teacher)

    学生选课(w_select_course)

    成绩管理(w_teacher_manage)

    成绩分布单(w_course_score_dis)

    学生成绩单(w_select_student_score_report)

    Add scripts for each window control.

  6. Write a script for the Student application object, defining global variables.

  7. Add a menu (m_student) to the Student application.

  8. Debug and run the application to check the correctness of the system operation.

3. Project demonstration

illustrate:

  1. This project can complete all the requirements of the experiment;
  2. Correct the code errors that appear in the teaching materials, and supplement the missing codes;
  3. Improved and unified all "Warning" and "Error" dialog boxes and icons;
  4. Added red, yellow and green traffic light pictures in the login window, and its switching algorithm;
  1. student login

    student login
  2. Course selection and withdrawal

    Course selection and withdrawal
  3. Student Grade Distribution

    Student Grade Distribution
  4. Teacher login_management

    Teacher login_management
  5. Administrator login_management

    Administrator login_management
  6. Student Information Maintenance

    Student Information Maintenance
  7. Teacher information maintenance

    Teacher information maintenance
  8. Course Information Maintenance

    Course Information Maintenance

4. Where the project can be improved

The following content does not involve the experimental requirements of the textbook, but only points out the unreasonableness in actual use;

  1. The teacher information maintenance window dw_1 teacher type should be set to a drop-down menu (teacher|system administrator) which is more reasonable;
  2. The course information maintenance window dw_1 should be optional, and only when it is deleted can there be visual interaction;
  3. The course information maintenance window "Please double-click the teacher's account" has no actual operation effect, and the original intention should be to select the existing teacher's account from the list;

5. How to use

⚠️Do not run the project before doing the following!

  1. Install PowerBuilder;
  2. Download and install JDBC and configure it in PowerBuilder to view the help ;
  3. Change the database connection user password in the following two places;
  1. Run the project after ensuring that the database connectivity test passes;
  2. Executing exe deployment can generate student.exe executable file;

6. View resources

GitHub

This project is licensed under the GNU General Public License v3.0, please follow.

©2021 CherryChenNan's
mistakes and omissions are not hesitating to correct and discuss.
Like and support, bookmark and learn, follow and don't get lost~

Guess you like

Origin blog.csdn.net/qq_27677599/article/details/115560798
Recommended