public void GanGiaTri(int stt) { LayDuLieu TT = new LayDuLieu(); TT.Laydulieu(stt); sobaodanh = TT.SBD; hoten = TT.TEN; khuvuc = TT.KV; dantoc = TT.DT; uutien = TT.UT; for (int i = 0; i < 13; i++) { if (TT.DIEM[i] == "NA") { diemthi[i] = 0; } else { diemthi[i] = double.Parse(TT.DIEM[i]); } } for (int i = 1; i <= 4; i++) { nguyenvong[i] = TT.NV[i]; monthi[i] = TT.MONTHI[i]; } }
public void GanGiaTri(int stt) { LayDuLieu TT = new LayDuLieu(); TT.Laydulieu(stt); sobaodanh = TT.SBD; hoten = TT.TEN; khuvuc = TT.KV; dantoc = TT.DT; uutien = TT.UT; for (int i = 0; i < 13; i++) { if (TT.DIEM[i] == "NA") diemthi[i] = 0; else diemthi[i] = double.Parse(TT.DIEM[i]); } for (int i = 1; i <= 4; i++) { nguyenvong[i] = TT.NV[i]; monthi[i] = TT.MONTHI[i]; } }