Esempio n. 1
0
        //private int[] GetPhongChuyenMon(int IDDM_MonHoc)
        //{
        //    cBwsXL_PhongHoc_MonHoc oBXL_PhongHoc_MonHoc = new cBwsXL_PhongHoc_MonHoc();
        //    DataTable dt = oBXL_PhongHoc_MonHoc.GetByIDDM_MonHoc(IDDM_MonHoc);
        //    if (dt.Rows.Count > 0)
        //    {
        //        int[] arr = new int[dt.Rows.Count];
        //        for (int i = 0; i < dt.Rows.Count; i++)
        //        {
        //            arr[i] = int.Parse(dt.Rows[i]["IDDM_PhongHoc"].ToString());
        //        }
        //        return arr;
        //    }
        //    else
        //        return null;
        //}

        public DataTable GetMonThiTotNghiep(int IDDM_NamHoc)
        {
            using (var client = new UnimOsServiceClient())
            {
                return(ConvertList.ToDataTable <sp_DM_MonHoc_GetMonThiTotNghiepResult>(client.cDDM_MonHoc_GetMonThiTotNghiep(GlobalVar.MaXacThuc, IDDM_NamHoc)));
            }
        }