Ejemplo n.º 1
0
 public DataTable GetTree(string NamHoc)
 {
     using (var client = new UnimOsServiceClient())
     {
         return(ConvertList.ToDataTable <sp_DM_Lop_GetTreeResult>(client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc)));
         //return client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc);
     }
 }
Ejemplo n.º 2
0
        public DataTable GetTreeTheoKhoa(string NamHoc)
        {
            var       client = new UnimOsServiceClient();
            DataTable dt     = ConvertList.ToDataTable <sp_DM_Lop_GetTreeResult>(client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc));

            //DataTable dt = client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc);
            client.Close();
            return(CreateTree(dt));
        }