/// <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.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.dataSet11 = new procedencia.DataSet1(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string)))); // // oleDbDataAdapter1 // this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "T_Datos", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ANO", "ANO"), new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC"), new System.Data.Common.DataColumnMapping("CARR_TDESC", "CARR_TDESC"), new System.Data.Common.DataColumnMapping("JORN_TDESC", "JORN_TDESC"), new System.Data.Common.DataColumnMapping("COLEGIO_EGRESO", "COLEGIO_EGRESO"), new System.Data.Common.DataColumnMapping("CIUD_TDESC", "CIUD_TDESC"), new System.Data.Common.DataColumnMapping("TCOL_TDESC", "TCOL_TDESC"), new System.Data.Common.DataColumnMapping("ALUMNOS", "ALUMNOS"), new System.Data.Common.DataColumnMapping("PSU", "PSU") }) }); this.oleDbDataAdapter1.RowUpdated += new System.Data.OleDb.OleDbRowUpdatedEventHandler(this.oleDbDataAdapter1_RowUpdated); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS ANO, \'\' AS SEDE_TDESC, \'\' AS CARR_TDESC, \'\' AS JORN_TDESC, \'\' AS COL" + "EGIO_EGRESO, \'\' AS CIUD_TDESC, \'\' AS TCOL_TDESC, \'\' AS ALUMNOS, \'\' AS PSU FROM D" + "UAL"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("es-CL"); this.dataSet11.Namespace = "http://www.tempuri.org/DataSet1.xsd"; this.Load += new System.EventHandler(this.Page_Load); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).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.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.dataSet11 = new procedencia.DataSet1(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("cadenaConexion", typeof(string)))); // // oleDbDataAdapter1 // this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "T_Datos", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ANO", "ANO"), new System.Data.Common.DataColumnMapping("SEDE_TDESC", "SEDE_TDESC"), new System.Data.Common.DataColumnMapping("CARR_TDESC", "CARR_TDESC"), new System.Data.Common.DataColumnMapping("JORN_TDESC", "JORN_TDESC"), new System.Data.Common.DataColumnMapping("COLEGIO_EGRESO", "COLEGIO_EGRESO"), new System.Data.Common.DataColumnMapping("CIUD_TDESC", "CIUD_TDESC"), new System.Data.Common.DataColumnMapping("TCOL_TDESC", "TCOL_TDESC"), new System.Data.Common.DataColumnMapping("ALUMNOS", "ALUMNOS"), new System.Data.Common.DataColumnMapping("PSU", "PSU")})}); this.oleDbDataAdapter1.RowUpdated += new System.Data.OleDb.OleDbRowUpdatedEventHandler(this.oleDbDataAdapter1_RowUpdated); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS ANO, \'\' AS SEDE_TDESC, \'\' AS CARR_TDESC, \'\' AS JORN_TDESC, \'\' AS COL" + "EGIO_EGRESO, \'\' AS CIUD_TDESC, \'\' AS TCOL_TDESC, \'\' AS ALUMNOS, \'\' AS PSU FROM D" + "UAL"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("es-CL"); this.dataSet11.Namespace = "http://www.tempuri.org/DataSet1.xsd"; this.Load += new System.EventHandler(this.Page_Load); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); }