protected void Button2_Click(object sender, EventArgs e) { //Registro Traduccion try { L_Idioma logi = new L_Idioma(); logi.insertar_traduccion(int.Parse(DDL_Idiomas.SelectedValue), int.Parse(DLL_forms.SelectedValue), TB_Trad.Text, DDL_Controles.SelectedItem.Text); this.LB_Succ.ForeColor = Color.Green; this.LB_Succ.Text = "Traduccion Correctamente Insertada"; } catch (Exception err) { this.LB_Succ.ForeColor = Color.Red; this.LB_Succ.Text = err.Message.ToString(); } }