Ejemplo n.º 1
0
        public void selectVipInfo()
        {
            if (this.dgvVipInfoList.CurrentRow != null)
            {
                if (this.dgvVipInfoList.CurrentRow.Index >= 0)
                {
                    //if (this.dgvVipInfoList.Rows[this.dgvVipInfoList.CurrentRow.Index].Cells["vip_card_no"].Value != null)
                    //{
                    //    this._vipCardNo = this.dgvVipInfoList.Rows[this.dgvVipInfoList.CurrentRow.Index].Cells["vip_card_no"].Value.ToString();

                    //}
                    this._vipInfo = (t_vip_info)this.dgvVipInfoList.CurrentRow.DataBoundItem;
                }
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 ///  更新VIP消费信息
 /// </summary>
 /// <param name="vipInfo"></param>
 /// <param name="flowNo"></param>
 /// <param name="cardId"></param>
 /// <returns></returns>
 public bool InsertAccList(t_vip_info vipInfo, string flowNo)
 {
     return(base._dal.InsertAccList(vipInfo, flowNo));
 }