コード例 #1
0
        protected void btnActualizar_Click(object sender, EventArgs e)
        {
            string tipopersona = "";

            if (this.RadioButton1.Checked)
            {
                tipopersona = "J";
            }
            else
            {
                tipopersona = "N";
            }
            Transaccion.ActualizarDeudor(this.txtRut.Text.Replace(".", ""), this.txtRazonSocial.Text, this.txtFnacimiento.Text, this.profesion.SelectedValue, this.txtTelefono1.Text, this.txtCelular1.Text, this.txtTelefono2.Text, this.txtMail.Text, this.Banco.SelectedValue, this.txtCtaCte.Text, this.Session["usuario"].ToString(), this.ecivil.SelectedValue, this.txtNombres.Text, this.txtAPaterno.Text, this.txtAMaterno.Text, tipopersona);
            this.Page.RegisterClientScriptBlock("Mensaje", "<script>alert('Datos actualizados correctamente');</script>");
            this.Cancela();
        }