/// <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.adpDetalles = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.conexion = new System.Data.OleDb.OleDbConnection();
     this.ds = new rep_credito_por_estado.DataSet1();
     this.adpEncabezado = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbSelectCommand2 = new System.Data.OleDb.OleDbCommand();
     ((System.ComponentModel.ISupportInitialize)(this.ds)).BeginInit();
     //
     // adpDetalles
     //
     this.adpDetalles.SelectCommand = this.oleDbSelectCommand1;
     this.adpDetalles.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
                                                                                           new System.Data.Common.DataTableMapping("Table", "CARRERAS_ESTADOS", new System.Data.Common.DataColumnMapping[] {
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("CARR_TDESC", "CARR_TDESC"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("EMAT_TDESC", "EMAT_TDESC"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("N_PAGARES", "N_PAGARES"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("NUEVOS_UF", "NUEVOS_UF"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("NUEVOS_PESOS", "NUEVOS_PESOS"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("ANTIGUOS_UF", "ANTIGUOS_UF"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("ANTIGUOS_PESOS", "ANTIGUOS_PESOS"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("TOTAL_UF", "TOTAL_UF"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("TOTAL_PESOS", "TOTAL_PESOS"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("PORC_NUEVOS", "PORC_NUEVOS"),
                                                                                                                                                                                                               new System.Data.Common.DataColumnMapping("PORC_ANTIGUOS", "PORC_ANTIGUOS")})});
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS CARR_TDESC, \'\' AS EMAT_TDESC, 0 AS N_PAGARES, 0 AS NUEVOS_UF, 0 AS N" +
         "UEVOS_PESOS, 0 AS ANTIGUOS_UF, 0 AS ANTIGUOS_PESOS, 0 AS TOTAL_UF, 0 AS TOTAL_PE" +
         "SOS, 0 AS PORC_NUEVOS, 0 AS PORC_ANTIGUOS FROM DUAL";
     this.oleDbSelectCommand1.Connection = this.conexion;
     //
     // conexion
     //
     this.conexion.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // ds
     //
     this.ds.DataSetName = "DataSet1";
     this.ds.Locale = new System.Globalization.CultureInfo("es-CL");
     this.ds.Namespace = "http://www.tempuri.org/DataSet1.xsd";
     //
     // adpEncabezado
     //
     this.adpEncabezado.SelectCommand = this.oleDbSelectCommand2;
     this.adpEncabezado.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
                                                                                             new System.Data.Common.DataTableMapping("Table", "ENCABEZADO", new System.Data.Common.DataColumnMapping[] {
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("ANOS_CCOD", "ANOS_CCOD"),
                                                                                                                                                                                                           new System.Data.Common.DataColumnMapping("SEDE_CCOD", "SEDE_CCOD")})});
     //
     // oleDbSelectCommand2
     //
     this.oleDbSelectCommand2.CommandText = "SELECT A.SEDE_TDESC, B.ANOS_CCOD, A.SEDE_CCOD FROM SEDES A, ANOS B WHERE (A.SEDE_" +
         "CCOD = ?) AND (B.ANOS_CCOD = ?)";
     this.oleDbSelectCommand2.Connection = this.conexion;
     this.oleDbSelectCommand2.Parameters.Add(new System.Data.OleDb.OleDbParameter("SEDE_CCOD", System.Data.OleDb.OleDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(3)), ((System.Byte)(0)), "SEDE_CCOD", System.Data.DataRowVersion.Current, null));
     this.oleDbSelectCommand2.Parameters.Add(new System.Data.OleDb.OleDbParameter("ANOS_CCOD", System.Data.OleDb.OleDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(4)), ((System.Byte)(0)), "ANOS_CCOD", System.Data.DataRowVersion.Current, null));
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.ds)).EndInit();
 }
 /// <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.adpDetalles         = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.conexion            = new System.Data.OleDb.OleDbConnection();
     this.ds                  = new rep_credito_por_estado.DataSet1();
     this.adpEncabezado       = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbSelectCommand2 = new System.Data.OleDb.OleDbCommand();
     ((System.ComponentModel.ISupportInitialize)(this.ds)).BeginInit();
     //
     // adpDetalles
     //
     this.adpDetalles.SelectCommand = this.oleDbSelectCommand1;
     this.adpDetalles.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "CARRERAS_ESTADOS", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("CARR_TDESC", "CARR_TDESC"),
             new System.Data.Common.DataColumnMapping("EMAT_TDESC", "EMAT_TDESC"),
             new System.Data.Common.DataColumnMapping("N_PAGARES", "N_PAGARES"),
             new System.Data.Common.DataColumnMapping("NUEVOS_UF", "NUEVOS_UF"),
             new System.Data.Common.DataColumnMapping("NUEVOS_PESOS", "NUEVOS_PESOS"),
             new System.Data.Common.DataColumnMapping("ANTIGUOS_UF", "ANTIGUOS_UF"),
             new System.Data.Common.DataColumnMapping("ANTIGUOS_PESOS", "ANTIGUOS_PESOS"),
             new System.Data.Common.DataColumnMapping("TOTAL_UF", "TOTAL_UF"),
             new System.Data.Common.DataColumnMapping("TOTAL_PESOS", "TOTAL_PESOS"),
             new System.Data.Common.DataColumnMapping("PORC_NUEVOS", "PORC_NUEVOS"),
             new System.Data.Common.DataColumnMapping("PORC_ANTIGUOS", "PORC_ANTIGUOS")
         })
     });
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS CARR_TDESC, \'\' AS EMAT_TDESC, 0 AS N_PAGARES, 0 AS NUEVOS_UF, 0 AS N" +
                                            "UEVOS_PESOS, 0 AS ANTIGUOS_UF, 0 AS ANTIGUOS_PESOS, 0 AS TOTAL_UF, 0 AS TOTAL_PE" +
                                            "SOS, 0 AS PORC_NUEVOS, 0 AS PORC_ANTIGUOS FROM DUAL";
     this.oleDbSelectCommand1.Connection = this.conexion;
     //
     // conexion
     //
     this.conexion.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string))));
     //
     // ds
     //
     this.ds.DataSetName = "DataSet1";
     this.ds.Locale      = new System.Globalization.CultureInfo("es-CL");
     this.ds.Namespace   = "http://www.tempuri.org/DataSet1.xsd";
     //
     // adpEncabezado
     //
     this.adpEncabezado.SelectCommand = this.oleDbSelectCommand2;
     this.adpEncabezado.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "ENCABEZADO", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC"),
             new System.Data.Common.DataColumnMapping("ANOS_CCOD", "ANOS_CCOD"),
             new System.Data.Common.DataColumnMapping("SEDE_CCOD", "SEDE_CCOD")
         })
     });
     //
     // oleDbSelectCommand2
     //
     this.oleDbSelectCommand2.CommandText = "SELECT A.SEDE_TDESC, B.ANOS_CCOD, A.SEDE_CCOD FROM SEDES A, ANOS B WHERE (A.SEDE_" +
                                            "CCOD = ?) AND (B.ANOS_CCOD = ?)";
     this.oleDbSelectCommand2.Connection = this.conexion;
     this.oleDbSelectCommand2.Parameters.Add(new System.Data.OleDb.OleDbParameter("SEDE_CCOD", System.Data.OleDb.OleDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(3)), ((System.Byte)(0)), "SEDE_CCOD", System.Data.DataRowVersion.Current, null));
     this.oleDbSelectCommand2.Parameters.Add(new System.Data.OleDb.OleDbParameter("ANOS_CCOD", System.Data.OleDb.OleDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(4)), ((System.Byte)(0)), "ANOS_CCOD", System.Data.DataRowVersion.Current, null));
     this.Load += new System.EventHandler(this.Page_Load);
     ((System.ComponentModel.ISupportInitialize)(this.ds)).EndInit();
 }