You are on page 1of 8

HOMEWORK: 22/03/2023

NAME: PHẠM ĐỨC MINH


CLASS: 20MC
Link download: sovainoiii/lab3-4 (github.com)
EXERCISE 1: Mô hình 3 lớp
- Explain the program + code:
+ Form1 design: (trong GUI)
+ Lớp Class(trong DTO):

+ Lớp Student (trong DTO):

+ Lớp DatabaseAccess (trong DTA):


+ Lớp StudentAccess (trong DTA):

+ Lớp StudentAccessBLL (trong BLL):


+ Form1 Code:
 Hàm Form1_Load(): Khi chạy chương trình khởi tạo dữ liệu và gán cho
DataGridView
 Hàm ClearText(): Xóa các dữ liệu trong TextBox

 Hà dgvStudents_CellContentClick: khi nhấn vào các hàng thì load dữ


liệu lên textbox
 Ấn nút Insert

 Ấn nút Update

 Ấn nút Delete
- Picture of the running program(test):

You might also like