private static void initLayGioCong() { List <CA_LAM_VIEC> clv = CA_LAM_VIEC.select(" "); caLamViec = new List <int>(); for (int i = 0; i <= 100; i++) { caLamViec.Add(0); } for (int i = 0; i < clv.Count; i++) { caLamViec[clv[i].CA] = Convert.ToInt32(clv[i].GIO); } }
public static int LaySoLuongCa() { return(CA_LAM_VIEC.select(" ").Count); }