protected void CreaTercero_Click(object sender, EventArgs e) { try { var registros = Controlasql.CcreaTerceroempleado(txtccoNit.Value.ToUpper(), txtNomb.Value.ToUpper(), txtdir.Value.ToUpper(), txttel.Value, txtCiudad.Value.ToUpper(), txtEmail.Value.ToUpper(), Session["USUARIO"].ToString(), Session["BD"].ToString()); if (registros > 0) { Nuevotercero.Visible = false; } else { } } catch (Exception ex) { throw ex; } }