Ejemplo n.º 1
0
        private void bt_alter_Click(object sender, EventArgs e)
        {
            ManagerInfo mi = new ManagerInfo()
            {
                Mid   = Convert.ToInt32(tb_mid.Text),
                Mname = tb_uname.Text,
                Mpwd  = MD5Helper.Md5_Encrypt(tb_pwd.Text),
                Mtype = rb_2.Checked ? 0 : 1
            };

            if (mbll.alter(mi) != 0)
            {
                this.load_list();
            }
        }