示例#1
0
        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];
            }
        }
示例#2
0
        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];
            }
        }