protected void Page_Load(object sender, EventArgs e) { proxyTM = new TeacherModuleAdminServiceClient("WSHttpBinding_ITeacherModuleAdminService"); proxyModule = new ModuleAdminServiceClient("WSHttpBinding_IModuleAdminService"); proxyOP = new OpeningProgramAdminServiceClient("WSHttpBinding_IOpeningProgramAdminService"); proxyGP = new GlobalPlanAdminServiceClient("WSHttpBinding_IGlobalPlanAdminService"); proxyProgram = new AcademicServiceClient("WSHttpBinding_IAcademicService"); proxyEP = new EvaluationPlanAdminServiceClient("WSHttpBinding_IEvaluationPlanAdminService"); proxySM = new StudentModuleAdminServiceClient("WSHttpBinding_IStudentModuleAdminService"); proxyQ = new QualificationAdminServiceClient("WSHttpBinding_IQualificationAdminService"); nombreModulo = Request.Params["ModuleName"].ToString(); nombrePrograma = Request.Params["ProgramName"].ToString(); version = Request.Params["ID"].ToString(); lbl_nameModulo.Text = "MODULO: " + nombreModulo; long programaId = proxyProgram.GetProgramID(nombrePrograma); int versionId = GetVersion(version); long aperturaId = proxyOP.GetOpeningID(programaId, versionId); long moduleId = proxyModule.GetModuleID(nombreModulo); long teachModuleId = proxyTM.GetTeacherModule(moduleId, aperturaId); Session["TeachModID"] = teachModuleId; long globalPlanId = proxyGP.GetGlobalPlan(teachModuleId); long evaluationPlanId = proxyEP.GetEvaluationPlanID(globalPlanId); Session["Evaluacion"] = evaluationPlanId; Session["GlobalPlanID"] = globalPlanId; ListaEstudiantesModulo(moduleId, versionId); }
StudentModule entity = null; //16 protected void Page_Load(object sender, EventArgs e) { lbl_Estudiante.Text = Request.Params["IdentityCard"].ToString(); proxyOpening = new OpeningProgramAdminServiceClient("WSHttpBinding_IOpeningProgramAdminService"); proxyTeachMod = new TeacherModuleAdminServiceClient("WSHttpBinding_ITeacherModuleAdminService"); proxyStudMod = new StudentModuleAdminServiceClient("WSHttpBinding_IStudentModuleAdminService"); if (!IsPostBack) { Programas(); } carnet = Request.Params["IdentityCard"].ToString(); personID = Estudiante(carnet); }
protected void Page_Load(object sender, EventArgs e) { proxyProgram = new AcademicServiceClient("WSHttpBinding_IAcademicService"); proxyOpening = new OpeningProgramAdminServiceClient("WSHttpBinding_IOpeningProgramAdminService"); proxyModule = new ModuleAdminServiceClient("WSHttpBinding_IModuleAdminService"); proxyTeachMod = new TeacherModuleAdminServiceClient("WSHttpBinding_ITeacherModuleAdminService"); proxyStuMod = new StudentModuleAdminServiceClient("WSHttpBinding_IStudentModuleAdminService"); nombre = Request.Params[0].ToString(); paterno = Request.Params[1].ToString(); materno = Request.Params[2].ToString(); modulo = Request.Params[3].ToString(); programa = Request.Params[4].ToString(); version = Request.Params[5].ToString(); lbl_ProgramaPost.Text = "PROGRAMA DE POSTGRADO: " + programa; lbl_Version.Text = "VERSIÓN: " + version; lbl_Modulo.Text = "MÓDULO: " + modulo; lbl_Estudiante.Text = "ESTUDIANTE: " + nombre + " " + paterno + " " + materno; }