protected void btnGuardarCert_Click1(object sender, EventArgs e) { ManejoDatos Certificaciones = new ManejoDatos(); if (ChkSharp.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "C#", "CERTIFICACIONES"); if (ChkHtml.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "HTML", "CERTIFICACIONES"); if (ChkEnsamblador.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Ensamblador", "CERTIFICACIONES"); if (ChkNesc.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "NesC", "CERTIFICACIONES"); if (ChkC.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "C", "CERTIFICACIONES"); if (ChkPython.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Python", "CERTIFICACIONES"); if (ChkRuby.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Ruby", "CERTIFICACIONES"); if (ChkCss.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "CSS", "CERTIFICACIONES"); if (ChkFortran.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Fortran", "CERTIFICACIONES"); if (ChkProlog.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Prolog", "CERTIFICACIONES"); if (ChkMasmas.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "C++", "CERTIFICACIONES"); if (ChkPascal.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Pascal", "CERTIFICACIONES"); if (ChkVisual.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Visual Studio", "CERTIFICACIONES"); if (ChkJava.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Java", "CERTIFICACIONES"); if (ChkUml.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "UML", "CERTIFICACIONES"); if (ChPhp.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "PHP", "CERTIFICACIONES"); if (ChkCobol.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "Cobol", "CERTIFICACIONES"); if (ChkJavascrip.Checked == true) Certificaciones.CertiCursoApti(ID_CURRICULUM, "JavaScript", "CERTIFICACIONES"); }
protected void btnGuardarCert_Click(object sender, EventArgs e) { ManejoDatos Certificaciones = new ManejoDatos(); try { int i = Certificaciones.Busqueda("ID_CURRICULUM", "CURRICULUM", "ID_PERSONA", ID.ToString()); int x = Certificaciones.Busqueda("ID_CURRICULUM", "CERTIFICACIONES", "ID_CURRICULUM", i.ToString()); if (i>0) { if (x<1) { if (chVB.Checked == true) Certificaciones.CertiCursoApti(i, "Visual Studio", "CERTIFICACIONES"); if (chC.Checked == true) Certificaciones.CertiCursoApti(i, "C", "CERTIFICACIONES"); if (chCPlus.Checked == true) Certificaciones.CertiCursoApti(i, "C++", "CERTIFICACIONES"); if (chJava.Checked == true) Certificaciones.CertiCursoApti(i, "Java", "CERTIFICACIONES"); if (chPython.Checked == true) Certificaciones.CertiCursoApti(i, "Python", "CERTIFICACIONES"); if (chPascal.Checked == true) Certificaciones.CertiCursoApti(i, "Pascal", "CERTIFICACIONES"); if (chCSharp.Checked == true) Certificaciones.CertiCursoApti(i, "C#", "CERTIFICACIONES"); if (chRuby.Checked == true) Certificaciones.CertiCursoApti(i, "Ruby", "CERTIFICACIONES"); if (chPHP.Checked == true) Certificaciones.CertiCursoApti(i, "PHP", "CERTIFICACIONES"); if (chHTML.Checked == true) Certificaciones.CertiCursoApti(i, "HTML", "CERTIFICACIONES"); if (chCSS.Checked == true) Certificaciones.CertiCursoApti(i, "CSS", "CERTIFICACIONES"); if (chJS.Checked == true) Certificaciones.CertiCursoApti(i, "JavaScript", "CERTIFICACIONES"); if (chEnsamblador.Checked == true) Certificaciones.CertiCursoApti(i, "Ensamblador", "CERTIFICACIONES"); if (chFortran.Checked == true) Certificaciones.CertiCursoApti(i, "Fortran", "CERTIFICACIONES"); if (chCOBOL.Checked == true) Certificaciones.CertiCursoApti(i, "Cobol", "CERTIFICACIONES"); if (chNesC.Checked == true) Certificaciones.CertiCursoApti(i, "NesC", "CERTIFICACIONES"); if (chProlog.Checked == true) Certificaciones.CertiCursoApti(i, "Prolog", "CERTIFICACIONES"); if (chUML.Checked == true) Certificaciones.CertiCursoApti(i, "UML", "CERTIFICACIONES"); Response.Write("<script> alert('Se registraron correctamente sus certificaciones.') </script>"); limpiar(); } else { Response.Write("<script> alert('Ya no puede volver a registrar mas Certificaciones.') </script>"); } } else { Response.Write("<script> alert('Primero tiene que registrar el Extracto.') </script>"); } } catch (Exception a) { Response.Write("<script> alert('" + a.ToString() + "') </script>"); } }
protected void btnGuardarCurso_Click(object sender, EventArgs e) { ManejoDatos Cursos = new ManejoDatos(); try { int i = Cursos.Busqueda("ID_CURRICULUM", "CURRICULUM", "ID_PERSONA", ID.ToString()); int x = Cursos.Busqueda("ID_CURRICULUM", "CURSOS", "ID_CURRICULUM", i.ToString()); if (i>0) { if (x<1) { if (chCurInternet.Checked == true) Cursos.CertiCursoApti(i, "Internet de las cosas", "CURSOS"); if (chCurWord.Checked == true) Cursos.CertiCursoApti(i, "Word", "CURSOS"); if (chCurMA.Checked == true) Cursos.CertiCursoApti(i, "Microsoft Azure", "CURSOS"); if (chCurSE.Checked == true) Cursos.CertiCursoApti(i, "Sistemas embebidos", "CURSOS"); if (chCurExcel.Checked == true) Cursos.CertiCursoApti(i, "Excel", "CURSOS"); if (chCurMSD.Checked == true) Cursos.CertiCursoApti(i, "MS Dynamics", "CURSOS"); if (chCurERP.Checked == true) Cursos.CertiCursoApti(i, "ERP", "CURSOS"); if (chCurPhotoshop.Checked == true) Cursos.CertiCursoApti(i, "Photoshop", "CURSOS"); if (chCurVirtualizacion.Checked == true) Cursos.CertiCursoApti(i, "Virtualizacion", "CURSOS"); if (chCurIHC.Checked == true) Cursos.CertiCursoApti(i, "IHC", "CURSOS"); if (chCurGDocs.Checked == true) Cursos.CertiCursoApti(i, "Google Docs", "CURSOS"); if (chCurWS.Checked == true) Cursos.CertiCursoApti(i, "Windows Server", "CURSOS"); if (chCurSQL.Checked == true) Cursos.CertiCursoApti(i, "MS SQL Server", "CURSOS"); if (chCurW10.Checked == true) Cursos.CertiCursoApti(i, "Windows 10", "CURSOS"); if (chCurES.Checked == true) Cursos.CertiCursoApti(i, "Exchange Server", "CURSOS"); Response.Write("<script> alert('Se registraron correctamente sus cursos.') </script>"); limpiar(); } else { Response.Write("<script> alert('Ya no puede volver a registrar mas cursos.') </script>"); } } else { Response.Write("<script> alert('Primero tiene que registrar el Extracto.') </script>"); } } catch (Exception a) { Response.Write("<script> alert('" + a.ToString() + "') </script>"); } }
protected void btnGuardarAptitud_Click(object sender, EventArgs e) { ManejoDatos Aptitudes = new ManejoDatos(); try { int i = Aptitudes.Busqueda("ID_CURRICULUM", "CURRICULUM", "ID_PERSONA", ID.ToString()); int x = Aptitudes.Busqueda("ID_CURRICULUM", "APTITUDES", "ID_CURRICULUM", i.ToString()); if (i>0) { if (x<1) { if (chApt1.Checked == true) Aptitudes.CertiCursoApti(i, "Autodidacta", "APTITUDES"); if (chApt2.Checked == true) Aptitudes.CertiCursoApti(i, "Trabajo en equipo", "APTITUDES"); if (chApt3.Checked == true) Aptitudes.CertiCursoApti(i, "Responsable", "APTITUDES"); if (chApt4.Checked == true) Aptitudes.CertiCursoApti(i, "Etico", "APTITUDES"); if (chApt5.Checked == true) Aptitudes.CertiCursoApti(i, "Liderazgo", "APTITUDES"); if (chApt6.Checked == true) Aptitudes.CertiCursoApti(i, "Autocritica", "APTITUDES"); if (chApt7.Checked == true) Aptitudes.CertiCursoApti(i, "Organizado", "APTITUDES"); if (chApt8.Checked == true) Aptitudes.CertiCursoApti(i, "Analista", "APTITUDES"); if (chApt9.Checked == true) Aptitudes.CertiCursoApti(i, "Social", "APTITUDES"); if (chApt10.Checked == true) Aptitudes.CertiCursoApti(i, "Puntual", "APTITUDES"); if (chApt11.Checked == true) Aptitudes.CertiCursoApti(i, "Cooperativo", "APTITUDES"); if (chApt12.Checked == true) Aptitudes.CertiCursoApti(i, "Perseverante", "APTITUDES"); if (chApt13.Checked == true) Aptitudes.CertiCursoApti(i, "Matemático", "APTITUDES"); if (chApt14.Checked == true) Aptitudes.CertiCursoApti(i, "Creativo", "APTITUDES"); if (chApt15.Checked == true) Aptitudes.CertiCursoApti(i, "Comunicativo", "APTITUDES"); Response.Write("<script> alert('Se registraron correctamente sus aptitudes.') </script>"); limpiar(); } else { Response.Write("<script> alert('Ya no puede volver a registrar mas Aptitudes.') </script>"); } } else { Response.Write("<script> alert('Primero tiene que registrar el Extracto.') </script>"); } } catch (Exception a) { Response.Write("<script> alert('" + a.ToString() + "') </script>"); } }