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.letra_cambio1       = new imprimir_letra.letra_cambio();
     ((System.ComponentModel.ISupportInitialize)(this.letra_cambio1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Table", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("RUT_POST", "RUT_POST"),
             new System.Data.Common.DataColumnMapping("CARRERA", "CARRERA"),
             new System.Data.Common.DataColumnMapping("FECHA_ENTERA_V", "FECHA_ENTERA_V"),
             new System.Data.Common.DataColumnMapping("MES_V", "MES_V"),
             new System.Data.Common.DataColumnMapping("DD_V", "DD_V"),
             new System.Data.Common.DataColumnMapping("ANO_V", "ANO_V"),
             new System.Data.Common.DataColumnMapping("MES_E", "MES_E"),
             new System.Data.Common.DataColumnMapping("DD_E", "DD_E"),
             new System.Data.Common.DataColumnMapping("ANO_E", "ANO_E"),
             new System.Data.Common.DataColumnMapping("MONTO", "MONTO"),
             new System.Data.Common.DataColumnMapping("NRO_DOCTO", "NRO_DOCTO"),
             new System.Data.Common.DataColumnMapping("RUT_CODEUDOR", "RUT_CODEUDOR"),
             new System.Data.Common.DataColumnMapping("NOMBRE_CODEUDOR", "NOMBRE_CODEUDOR"),
             new System.Data.Common.DataColumnMapping("DIRECCION", "DIRECCION"),
             new System.Data.Common.DataColumnMapping("CIUDAD", "CIUDAD"),
             new System.Data.Common.DataColumnMapping("COMUNA", "COMUNA")
         })
     });
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = @"SELECT '' AS FONO_CODEUDOR, '' AS CIUDAD_SEDE, '' AS RUT_POST, '' AS CARRERA, '' AS FECHA_ENTERA_V, '' AS MES_V, '' AS DD_V, '' AS ANO_V, '' AS MES_E, '' AS DD_E, '' AS ANO_E, '' AS MONTO, '' AS NRO_DOCTO, '' AS RUT_CODEUDOR, '' AS NOMBRE_CODEUDOR, '' AS DIRECCION, '' AS CIUDAD, '' AS COMUNA, '' AS VALORES, '' AS DESCRIPCION FROM DUAL";
     this.oleDbSelectCommand1.Connection  = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // letra_cambio1
     //
     this.letra_cambio1.DataSetName = "letra_cambio";
     this.letra_cambio1.Locale      = new System.Globalization.CultureInfo("es-ES");
     this.letra_cambio1.Namespace   = "http://www.tempuri.org/letra_cambio.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.letra_cambio1)).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.letra_cambio1 = new imprimir_letra.letra_cambio();
     ((System.ComponentModel.ISupportInitialize)(this.letra_cambio1)).BeginInit();
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
                                                                                                 new System.Data.Common.DataTableMapping("Table", "Table", new System.Data.Common.DataColumnMapping[] {
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("RUT_POST", "RUT_POST"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("CARRERA", "CARRERA"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("FECHA_ENTERA_V", "FECHA_ENTERA_V"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("MES_V", "MES_V"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("DD_V", "DD_V"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("ANO_V", "ANO_V"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("MES_E", "MES_E"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("DD_E", "DD_E"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("ANO_E", "ANO_E"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("MONTO", "MONTO"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("NRO_DOCTO", "NRO_DOCTO"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("RUT_CODEUDOR", "RUT_CODEUDOR"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("NOMBRE_CODEUDOR", "NOMBRE_CODEUDOR"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("DIRECCION", "DIRECCION"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("CIUDAD", "CIUDAD"),
                                                                                                                                                                                                          new System.Data.Common.DataColumnMapping("COMUNA", "COMUNA")})});
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = @"SELECT '' AS FONO_CODEUDOR, '' AS CIUDAD_SEDE, '' AS RUT_POST, '' AS CARRERA, '' AS FECHA_ENTERA_V, '' AS MES_V, '' AS DD_V, '' AS ANO_V, '' AS MES_E, '' AS DD_E, '' AS ANO_E, '' AS MONTO, '' AS NRO_DOCTO, '' AS RUT_CODEUDOR, '' AS NOMBRE_CODEUDOR, '' AS DIRECCION, '' AS CIUDAD, '' AS COMUNA, '' AS VALORES, '' AS DESCRIPCION FROM DUAL";
     this.oleDbSelectCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // letra_cambio1
     //
     this.letra_cambio1.DataSetName = "letra_cambio";
     this.letra_cambio1.Locale = new System.Globalization.CultureInfo("es-ES");
     this.letra_cambio1.Namespace = "http://www.tempuri.org/letra_cambio.xsd";
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.letra_cambio1)).EndInit();
 }