//初始化
        private void FormAdminUpdate_Load(object sender, EventArgs e)
        {
            textId.Text = id.ToString();
            BLL.Admin   bll   = new BLL.Admin();
            Model.Admin model = bll.getModel(id.ToString());

            if (model == null)
            {
                MessageBox.Show("数据查询出错");
                return;
            }
            else
            {
                textId.Text        = model.Id;
                textAdminname.Text = model.Name;
                textOldPwd.Text    = model.Pass;
            }
        }