Esempio 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.datosReporte1       = new rep_det_cob.datosReporte();
     ((System.ComponentModel.ISupportInitialize)(this.datosReporte1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "reporte", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("TIPO", "TIPO"),
             new System.Data.Common.DataColumnMapping("FECHA_EMISION", "FECHA_EMISION"),
             new System.Data.Common.DataColumnMapping("NRO_NDOCTO", "NRO_NDOCTO"),
             new System.Data.Common.DataColumnMapping("MONTO", "MONTO"),
             new System.Data.Common.DataColumnMapping("FECHA_VEN", "FECHA_VEN"),
             new System.Data.Common.DataColumnMapping("ESTADO", "ESTADO"),
             new System.Data.Common.DataColumnMapping("RUT_ALUMNO", "RUT_ALUMNO"),
             new System.Data.Common.DataColumnMapping("RUT_APODERADO", "RUT_APODERADO")
         })
     });
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS TIPO, \'\' AS FECHA_EMISION, \'\' AS NRO_NDOCTO, \'\' AS MONTO, \'\' AS FECH" +
                                            "A_VEN, \'\' AS ESTADO, \'\' AS RUT_ALUMNO, \'\' AS RUT_APODERADO, \'\' AS C_CORRIENTE FR" +
                                            "OM DUAL";
     this.oleDbSelectCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // datosReporte1
     //
     this.datosReporte1.DataSetName = "datosReporte";
     this.datosReporte1.Locale      = new System.Globalization.CultureInfo("es-ES");
     this.datosReporte1.Namespace   = "http://www.tempuri.org/datosReporte.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.datosReporte1)).EndInit();
 }
Esempio 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.datosReporte1 = new rep_det_cob.datosReporte();
     ((System.ComponentModel.ISupportInitialize)(this.datosReporte1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
                                                                                                 new System.Data.Common.DataTableMapping("Table", "reporte", new System.Data.Common.DataColumnMapping[] {
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("TIPO", "TIPO"),
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("FECHA_EMISION", "FECHA_EMISION"),
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("NRO_NDOCTO", "NRO_NDOCTO"),
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("MONTO", "MONTO"),
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("FECHA_VEN", "FECHA_VEN"),
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("ESTADO", "ESTADO"),
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("RUT_ALUMNO", "RUT_ALUMNO"),
                                                                                                                                                                                                            new System.Data.Common.DataColumnMapping("RUT_APODERADO", "RUT_APODERADO")})});
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS TIPO, \'\' AS FECHA_EMISION, \'\' AS NRO_NDOCTO, \'\' AS MONTO, \'\' AS FECH" +
         "A_VEN, \'\' AS ESTADO, \'\' AS RUT_ALUMNO, \'\' AS RUT_APODERADO, \'\' AS C_CORRIENTE FR" +
         "OM DUAL";
     this.oleDbSelectCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // datosReporte1
     //
     this.datosReporte1.DataSetName = "datosReporte";
     this.datosReporte1.Locale = new System.Globalization.CultureInfo("es-ES");
     this.datosReporte1.Namespace = "http://www.tempuri.org/datosReporte.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.datosReporte1)).EndInit();
 }