/// <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 lista_alumnos_cursos.DataSet1(); ((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", "ALUMNOS", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("TDET_TDESC", "TDET_TDESC"), new System.Data.Common.DataColumnMapping("IGAS_TCODIGO", "IGAS_TCODIGO"), new System.Data.Common.DataColumnMapping("CCOS_TCODIGO", "CCOS_TCODIGO"), 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("RECIBIDO", "RECIBIDO") }) }); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS TDET_TDESC, \'\' AS IGAS_TCODIGO, \'\' AS CCOS_TCODIGO, \'\' AS RUT, \'\' AS" + " NOMBRE, 0 AS COMPROMETIDO, 0 AS RECIBIDO 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"; 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 lista_alumnos_cursos.DataSet1(); ((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", "ALUMNOS", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("TDET_TDESC", "TDET_TDESC"), new System.Data.Common.DataColumnMapping("IGAS_TCODIGO", "IGAS_TCODIGO"), new System.Data.Common.DataColumnMapping("CCOS_TCODIGO", "CCOS_TCODIGO"), 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("RECIBIDO", "RECIBIDO")})}); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT \'\' AS TDET_TDESC, \'\' AS IGAS_TCODIGO, \'\' AS CCOS_TCODIGO, \'\' AS RUT, \'\' AS" + " NOMBRE, 0 AS COMPROMETIDO, 0 AS RECIBIDO 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"; this.Load += new System.EventHandler(this.Page_Load); ((System.ComponentModel.ISupportInitialize)(this.ds)).EndInit(); }