protected void DLL_forms_SelectedIndexChanged(object sender, EventArgs e) { L_Idioma logi = new L_Idioma(); DropDownList ddl = (DropDownList)sender; int id_form = int.Parse(ddl.SelectedValue.ToString()); int id_language = int.Parse(DDL_Idiomas.SelectedValue.ToString()); DataTable data = logi.obtner_controles(id_form, id_language); DDL_Controles.DataSource = data; DDL_Controles.DataTextField = "nom_control"; DDL_Controles.DataValueField = "texto"; DDL_Controles.DataBind(); LB_Data.Text = DDL_Controles.SelectedValue.ToString(); }