/// <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.DbConnection = new System.Data.OleDb.OleDbConnection(); this.DbDataAdapter = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.dataSetMorosidad1 = new MorosidadFinanzas.DataSetMorosidad(); ((System.ComponentModel.ISupportInitialize)(this.dataSetMorosidad1)).BeginInit(); // // DbConnection // this.DbConnection.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string)))); // // DbDataAdapter // this.DbDataAdapter.SelectCommand = this.oleDbSelectCommand1; this.DbDataAdapter.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "T_Morosidad", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FECHA_CORTE", "FECHA_CORTE"), new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC"), new System.Data.Common.DataColumnMapping("CARRERA", "CARRERA"), new System.Data.Common.DataColumnMapping("RUT", "RUT"), new System.Data.Common.DataColumnMapping("NOMBRE", "NOMBRE"), new System.Data.Common.DataColumnMapping("COMPROMETIDO", "COMPROMETIDO"), new System.Data.Common.DataColumnMapping("LETRAS", "LETRAS"), new System.Data.Common.DataColumnMapping("CHEQUES", "CHEQUES"), new System.Data.Common.DataColumnMapping("PAGARE", "PAGARE") }) }); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS FECHA_CORTE, \'\' AS SEDE_TDESC, \'\' AS CARRERA, \'\' AS RUT, \'\' AS NOMBR" + "E, \'\' AS COMPROMETIDO, \'\' AS LETRAS, \'\' AS CHEQUES, \'\' AS PAGARE FROM DUAL"; this.oleDbSelectCommand1.Connection = this.DbConnection; // // dataSetMorosidad1 // this.dataSetMorosidad1.DataSetName = "DataSetMorosidad"; this.dataSetMorosidad1.Locale = new System.Globalization.CultureInfo("es-CL"); this.dataSetMorosidad1.Namespace = "http://www.tempuri.org/DataSetMorosidad.xsd"; this.Load += new System.EventHandler(this.Page_Load); ((System.ComponentModel.ISupportInitialize)(this.dataSetMorosidad1)).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.DbConnection = new System.Data.OleDb.OleDbConnection(); this.DbDataAdapter = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.dataSetMorosidad1 = new MorosidadFinanzas.DataSetMorosidad(); ((System.ComponentModel.ISupportInitialize)(this.dataSetMorosidad1)).BeginInit(); // // DbConnection // this.DbConnection.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string)))); // // DbDataAdapter // this.DbDataAdapter.SelectCommand = this.oleDbSelectCommand1; this.DbDataAdapter.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "T_Morosidad", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FECHA_CORTE", "FECHA_CORTE"), new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC"), new System.Data.Common.DataColumnMapping("CARRERA", "CARRERA"), new System.Data.Common.DataColumnMapping("RUT", "RUT"), new System.Data.Common.DataColumnMapping("NOMBRE", "NOMBRE"), new System.Data.Common.DataColumnMapping("COMPROMETIDO", "COMPROMETIDO"), new System.Data.Common.DataColumnMapping("LETRAS", "LETRAS"), new System.Data.Common.DataColumnMapping("CHEQUES", "CHEQUES"), new System.Data.Common.DataColumnMapping("PAGARE", "PAGARE")})}); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS FECHA_CORTE, \'\' AS SEDE_TDESC, \'\' AS CARRERA, \'\' AS RUT, \'\' AS NOMBR" + "E, \'\' AS COMPROMETIDO, \'\' AS LETRAS, \'\' AS CHEQUES, \'\' AS PAGARE FROM DUAL"; this.oleDbSelectCommand1.Connection = this.DbConnection; // // dataSetMorosidad1 // this.dataSetMorosidad1.DataSetName = "DataSetMorosidad"; this.dataSetMorosidad1.Locale = new System.Globalization.CultureInfo("es-CL"); this.dataSetMorosidad1.Namespace = "http://www.tempuri.org/DataSetMorosidad.xsd"; this.Load += new System.EventHandler(this.Page_Load); ((System.ComponentModel.ISupportInitialize)(this.dataSetMorosidad1)).EndInit(); }