private void HienThiDanhSachSinhVien() { lvSinhVien.Items.Clear(); foreach (Student st in st.LayDanhSachSinhVien()) { ListViewItem lvi = new ListViewItem(st.codeClass); lvi.SubItems.Add(st.codeStudent + ""); lvi.SubItems.Add(st.nameStudent); lvi.SubItems.Add(st.genderStudent); lvi.SubItems.Add(st.address); lvSinhVien.Items.Add(lvi); } }