Exemplo n.º 1
0
        //按卡号\账户名称查询
        private void btnSelect_Click(object sender, EventArgs e)
        {
            string userInfoName = this.txtidno.Text;

            if (string.IsNullOrEmpty(this.txtidno.Text))
            {
                this.dgvUser.DataSource = UserInfoManage.GetAllUserinfos();
            }
            else
            {
                this.dgvUser.DataSource = UserInfoManage.GetSelectUserinfoByIDOrName(userInfoName);
            }
        }