Beispiel #1
0
        protected void BtnUpdate_Click(object sender, EventArgs e)
        {
            A2ZLSECURITYDTO UpDTO = new A2ZLSECURITYDTO();

            UpDTO.LSecurityCode        = Converter.GetSmallInteger(txtcode.Text);
            UpDTO.LSecurityDescription = Converter.GetString(txtDescription.Text);

            int roweffect = A2ZLSECURITYDTO.UpdateInformation(UpDTO);

            if (roweffect > 0)
            {
                dropdown();
                clearinfo();
                //    ddlSecurity.SelectedValue = "-Select-";
                BtnSubmit.Visible = true;
                BtnUpdate.Visible = false;
                txtcode.Focus();
                gvDetail();
            }
        }