Ejemplo n.º 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.presupuestoIngreso1 = new Presupuesto_Ingreso.PresupuestoIngreso();
     ((System.ComponentModel.ISupportInitialize)(this.presupuestoIngreso1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "total_matricula", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("P_MOROSIDAD", "P_MOROSIDAD"),
             new System.Data.Common.DataColumnMapping("CARR_TDESC", "CARR_TDESC"),
             new System.Data.Common.DataColumnMapping("CARR_CCOD", "CARR_CCOD"),
             new System.Data.Common.DataColumnMapping("TOTAL_MATRICULA", "TOTAL_MATRICULA"),
             new System.Data.Common.DataColumnMapping("TOTAL_COLEGIATURA", "TOTAL_COLEGIATURA"),
             new System.Data.Common.DataColumnMapping("MOROSIDAD", "MOROSIDAD"),
             new System.Data.Common.DataColumnMapping("ESTIMACION", "ESTIMACION"),
             new System.Data.Common.DataColumnMapping("PERIODO", "PERIODO"),
             new System.Data.Common.DataColumnMapping("FECHA_INICIO", "FECHA_INICIO"),
             new System.Data.Common.DataColumnMapping("FECHA_TERMINO", "FECHA_TERMINO"),
             new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC")
         })
     });
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS P_MOROSIDAD, \'\' AS CARR_TDESC, \'\' AS CARR_CCOD, \'\' AS TOTAL_MATRICUL" +
                                            "A, \'\' AS TOTAL_COLEGIATURA, \'\' AS MOROSIDAD, \'\' AS ESTIMACION, \'\' AS PERIODO, \'\'" +
                                            " AS FECHA_INICIO, \'\' AS FECHA_TERMINO, \'\' AS SEDE_TDESC FROM DUAL";
     this.oleDbSelectCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // presupuestoIngreso1
     //
     this.presupuestoIngreso1.DataSetName = "PresupuestoIngreso";
     this.presupuestoIngreso1.Locale      = new System.Globalization.CultureInfo("es-ES");
     this.presupuestoIngreso1.Namespace   = "http://www.tempuri.org/PresupuestoIngreso.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.presupuestoIngreso1)).EndInit();
 }
Ejemplo n.º 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.presupuestoIngreso1 = new Presupuesto_Ingreso.PresupuestoIngreso();
     ((System.ComponentModel.ISupportInitialize)(this.presupuestoIngreso1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
                                                                                                 new System.Data.Common.DataTableMapping("Table", "total_matricula", new System.Data.Common.DataColumnMapping[] {
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("P_MOROSIDAD", "P_MOROSIDAD"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("CARR_TDESC", "CARR_TDESC"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("CARR_CCOD", "CARR_CCOD"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("TOTAL_MATRICULA", "TOTAL_MATRICULA"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("TOTAL_COLEGIATURA", "TOTAL_COLEGIATURA"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("MOROSIDAD", "MOROSIDAD"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("ESTIMACION", "ESTIMACION"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("PERIODO", "PERIODO"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("FECHA_INICIO", "FECHA_INICIO"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("FECHA_TERMINO", "FECHA_TERMINO"),
                                                                                                                                                                                                                    new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC")})});
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS P_MOROSIDAD, \'\' AS CARR_TDESC, \'\' AS CARR_CCOD, \'\' AS TOTAL_MATRICUL" +
         "A, \'\' AS TOTAL_COLEGIATURA, \'\' AS MOROSIDAD, \'\' AS ESTIMACION, \'\' AS PERIODO, \'\'" +
         " AS FECHA_INICIO, \'\' AS FECHA_TERMINO, \'\' AS SEDE_TDESC FROM DUAL";
     this.oleDbSelectCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // presupuestoIngreso1
     //
     this.presupuestoIngreso1.DataSetName = "PresupuestoIngreso";
     this.presupuestoIngreso1.Locale = new System.Globalization.CultureInfo("es-ES");
     this.presupuestoIngreso1.Namespace = "http://www.tempuri.org/PresupuestoIngreso.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.presupuestoIngreso1)).EndInit();
 }