示例#1
0
 protected override void BtnLook_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrWhiteSpace(this.textCard.Text))
     {
         consumeVoList = SelectDao.SelectMemberConsumeByName <MemberConsumeVo>(this.textName.Text);
     }
     else
     {
         consumeVoList = SelectDao.SelectMemberConsumeByID <MemberConsumeVo>(this.textCard.Text);
     }
     this.gridControl1.DataSource = consumeVoList;
     this.gridControl1.RefreshDataSource();
 }