public List <TaiKhoan> layDanhSachTaiKhoanC() { DataSet ds = tk.layDanhSachTaiKhoanM(); foreach (DataRow r in ds.Tables[0].Rows) { tkL.Add(new TaiKhoan() { tenTK = (string)r["tenTK"], matKhauTK = (string)r["matkhauTK"], maNV = (int)r["maNV"] }); } return(tkL); }