You are on page 1of 4

Recruitment : (Tuyen Dung Ung Vien) R_ID R_Name R_SoLuong Status_ID Status: (Trang Thai) Status_ID Status_Name: - New

Tested Pass Faile - Edit | - Delete.

Note: ComboboxID:

Emloyee:(Nhan Vien)

Department:(Phong Ban)

E_ID R_ID D_ID Sal_ID E_name E_Add E_phone E_user E_pass E_ma_quyen

D_ID D_Name

Holyday(Ky Nghi) H_ID H_name H_start H_end

Note: Show Happy New Year

Trainning(Khoa Luyen Tap) Train_ID Train_Name Train_Start Train_End E_ID

Leave(Xin Phep) L_ID L_Reason E_ID L_Start L_End L_Status

Tax(Thue) Tax_ID Tax_Name: Tax_Value: Tax_Percent: VAT, TAX.... 200$, 500$, 1000$... 5%, 10%, 20%...

SalID(Luong) Sal_ID Sal_Name Sal_Value

Task: (Project) T_ID E_ID T_Name DeadLine: Start: Tstatus: Datetime

Datetime 1/0(1= Hoan thanh, 0= chua Hoan thanh) Manager quan ly check roi EDIT

Em s thi t k Object: Qu n L Nhn S : Employee + Recruitment+ Leave+ Training+Holyday. Anh s thi t k Object: L ng+ D n(Task)+ Khch Hng(Customer)+Tax(Thu ).

Bi s lm theo m hnh 3 l p. FORM: cc nt v b t s ki n.

Trong m i FORM c 1 l p Class ch a cc cu l nh: Search, Edit, Update, Insert, Delete. SQL database: thi t k nh bn trn. B t ng kha chnh.

L u : File k t n i database ring.


public CDangnhap(SqlConnection conn) { ketnoi = conn; } T o file App.config Sau trong m i Object g i ci ketnoi ra

<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="ketnoi" value="Server=LinkDatabase;Initial Catalog=Namedatabase;Integrated Security=True;"/> </appSettings> </configuration> S em: 0168.939.7889