Example #1
0
 /// <summary>
 /// Método necesario para admitir el Diseñador, no se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     this.oleDbDataAdapter1   = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbConnection1    = new System.Data.OleDb.OleDbConnection();
     this.datoAlumno1         = new certifica_regular.datoAlumno();
     ((System.ComponentModel.ISupportInitialize)(this.datoAlumno1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "alumno", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("NOMBRE_ENC_C", "NOMBRE_ENC_C"),
             new System.Data.Common.DataColumnMapping("SEC_GENERAL", "SEC_GENERAL"),
             new System.Data.Common.DataColumnMapping("CIUDAD_SEDE", "CIUDAD_SEDE"),
             new System.Data.Common.DataColumnMapping("CCOD_ALUMNO", "CCOD_ALUMNO"),
             new System.Data.Common.DataColumnMapping("NOMBRE_ALUMNO", "NOMBRE_ALUMNO"),
             new System.Data.Common.DataColumnMapping("RUT_POST", "RUT_POST"),
             new System.Data.Common.DataColumnMapping("CARRERA", "CARRERA")
         })
     });
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = @"SELECT '' AS SEMESTRE, '' AS PERIODO, 'JORGE MÜLLER UBILLA' AS NOMBRE_ENC_C, 'JAIME RIBERA NEUMANN' AS SEC_GENERAL, '' AS CIUDAD_SEDE, '' AS CCOD_ALUMNO, '' AS NOMBRE_ALUMNO, '' AS RUT_POST, '' AS CARRERA, '' AS DIA, '' AS MES, '' AS ANO, '' AS N_DIA, '' AS TIPO_CERTIFICADO FROM DUAL";
     this.oleDbSelectCommand1.Connection  = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // datoAlumno1
     //
     this.datoAlumno1.DataSetName = "datoAlumno";
     this.datoAlumno1.Locale      = new System.Globalization.CultureInfo("es-ES");
     this.datoAlumno1.Namespace   = "http://www.tempuri.org/datoAlumno.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.datoAlumno1)).EndInit();
 }
Example #2
0
 /// <summary>
 /// M�todo necesario para admitir el Dise�ador, no se puede modificar
 /// el contenido del m�todo con el editor de c�digo.
 /// </summary>
 private void InitializeComponent()
 {
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection();
     this.datoAlumno1 = new certifica_regular.datoAlumno();
     ((System.ComponentModel.ISupportInitialize)(this.datoAlumno1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
                                                                                                 new System.Data.Common.DataTableMapping("Table", "alumno", new System.Data.Common.DataColumnMapping[] {
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("NOMBRE_ENC_C", "NOMBRE_ENC_C"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("SEC_GENERAL", "SEC_GENERAL"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("CIUDAD_SEDE", "CIUDAD_SEDE"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("CCOD_ALUMNO", "CCOD_ALUMNO"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("NOMBRE_ALUMNO", "NOMBRE_ALUMNO"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("RUT_POST", "RUT_POST"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("CARRERA", "CARRERA")})});
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = @"SELECT '' AS SEMESTRE, '' AS PERIODO, 'JORGE M�LLER UBILLA' AS NOMBRE_ENC_C, 'JAIME RIBERA NEUMANN' AS SEC_GENERAL, '' AS CIUDAD_SEDE, '' AS CCOD_ALUMNO, '' AS NOMBRE_ALUMNO, '' AS RUT_POST, '' AS CARRERA, '' AS DIA, '' AS MES, '' AS ANO, '' AS N_DIA, '' AS TIPO_CERTIFICADO FROM DUAL";
     this.oleDbSelectCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // datoAlumno1
     //
     this.datoAlumno1.DataSetName = "datoAlumno";
     this.datoAlumno1.Locale = new System.Globalization.CultureInfo("es-ES");
     this.datoAlumno1.Namespace = "http://www.tempuri.org/datoAlumno.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.datoAlumno1)).EndInit();
 }