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"); nombreModulo = Request.Params["ModuleName"].ToString(); nombrePrograma = Request.Params["ProgramName"].ToString(); version = Request.Params["ID"].ToString(); 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); long globalPlanId = proxyGP.GetGlobalPlan(teachModuleId); Identificacion(); Fundamentacion(globalPlanId); ObjetivoGeneral(globalPlanId); ObjetivoEspecifico(globalPlanId); ContenidoTematico(globalPlanId); MetodosEnseñanza(globalPlanId); MetodosAprendizaje(globalPlanId); FormasEvaluacion(globalPlanId); Bibliografia(globalPlanId); }
protected void Page_Load(object sender, EventArgs e) { proxyProgram = new AcademicServiceClient("WSHttpBinding_IAcademicService"); proxyOpening = new OpeningProgramAdminServiceClient("WSHttpBinding_IOpeningProgramAdminService"); proxy = new GlobalPlanAdminServiceClient("WSHttpBinding_IGlobalPlanAdminService"); proxyTeacherMdoule = new TeacherModuleAdminServiceClient("WSHttpBinding_ITeacherModuleAdminService"); proxyModule = new ModuleAdminServiceClient("WSHttpBinding_IModuleAdminService"); nombreModulo = Request.Params["ModuleName"].ToString(); nombrePrograma = Request.Params["ProgramName"].ToString(); versionID = Request.Params["ID"].ToString(); Session["Modulo"] = nombreModulo; Session["Programa"] = nombrePrograma; Session["Version"] = versionID; //Obteniendo el ID del Programa Abierto version = GetVersion((string)Session["Version"]); //Obteniendo el ID del Programa programaID = proxyProgram.GetProgramID((string)Session["Programa"]); //Obteniendo el ID del OpeningProgram openingID = proxyOpening.GetOpeningID(programaID, version); //Obteniendo el ID del Modulo moduloID = proxyModule.GetModuleID((string)Session["Modulo"]); //Obteniendo el ID de la Asignación Docente Módulo teachModuleID = proxyTeacherMdoule.GetTeacherModule(moduloID, openingID); //lbl_Mensaje.Text = "Hasta aqui todo OK" + teachModuleID; Session["TeachingModule"] = teachModuleID + ""; lbl_ProgramaPostgrado.Text = "MÓDULO: " + nombreModulo; }
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); }
protected void Page_Load(object sender, EventArgs e) { //if ((string)Session["value"] == "false") //{ int count = 0; proxyProgram = new AcademicServiceClient("WSHttpBinding_IAcademicService"); proxyModule = new ModuleAdminServiceClient("WSHttpBinding_IModuleAdminService"); proxyAsignation = new ModuleAsigAdminServiceClient("WSHttpBinding_IModuleAsigAdminService"); if (!IsPostBack) { using (var context = new QualificationsDBEntities()) { //QualificationsDBEntities context = new QualificationsDBEntities(); var program = from p in context.GraduateProgram orderby p.ProgramName.Substring(0, 1) ascending select p; foreach (var query in program) { //Añadiendo al DropDownList con los nombres de los Programas de Postgrado ddl_Programas.Items.Insert(count, query.ProgramName); count = count + 1; } //Session["value"] = "true"; //inicializado en el WebForm Authentication } } //} }
protected void Page_Load(object sender, EventArgs e) { proxyModule = new ModuleAdminServiceClient("WSHttpBinding_IModuleAdminService"); proxyProgram = new AcademicServiceClient("WSHttpBinding_IAcademicService"); proxyAsignation = new ModuleAsigAdminServiceClient("WSHttpBinding_IModuleAsigAdminService"); updateModule = new Module(); long moduleID = proxyModule.GetModuleID(Request.Params["ModuleName"].ToString()); updateModule = Get(moduleID); if (!IsPostBack) { int count = 0; txt_ModuleName.Text = updateModule.ModuleName; using (var context = new QualificationsDBEntities()) { var program = from p in context.GraduateProgram orderby p.ProgramName.Substring(0, 1) ascending select p; foreach (var query in program) { //Añadiendo al DropDownList con los nombres de los Programas de Postgrado ddl_Programas.Items.Insert(count, query.ProgramName); count = count + 1; } } } }
protected void Page_Load(object sender, EventArgs e) { proxyProgram = new AcademicServiceClient("WSHttpBinding_IAcademicService"); proxyOpening = new OpeningProgramAdminServiceClient("WSHttpBinding_IOpeningProgramAdminService"); proxy = new GlobalPlanAdminServiceClient("WSHttpBinding_IGlobalPlanAdminService"); proxyTeacherMdoule = new TeacherModuleAdminServiceClient("WSHttpBinding_ITeacherModuleAdminService"); proxyModule = new ModuleAdminServiceClient("WSHttpBinding_IModuleAdminService"); }
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; }
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"); nombreModulo = Request.Params["ModuleName"].ToString(); nombrePrograma = Request.Params["ProgramName"].ToString(); version = Request.Params["ID"].ToString(); 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); long globalPlanId = proxyGP.GetGlobalPlan(teachModuleId); Session["GlobalPlanID"] = globalPlanId; }