Example #1
0
 protected override void BtnLook_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrWhiteSpace(this.textCard.Text))
     {
         rechargeVoList = SelectDao.SelectMemberRechargeByName <MemberRechargeVo>(this.textName.Text);
     }
     else
     {
         rechargeVoList = SelectDao.SelectMemberRechargeByID <MemberRechargeVo>(this.textCard.Text);
     }
     this.gridControl1.DataSource = rechargeVoList;
     this.gridControl1.RefreshDataSource();
 }