using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.BLL;
|
using CY.Model;
|
using CY.Infrastructure.Query;
|
using CY.Infrastructure.Common;
|
|
namespace CY.WebForm.Pages.pay
|
{
|
//吴辉
|
//银行卡信息管理
|
public partial class BankInfoList : BasePage
|
{
|
Pay_BankInfoBLL bll_Pay_BankInfoBLL = null;
|
//初始化
|
public BankInfoList()
|
{
|
bll_Pay_BankInfoBLL = new Pay_BankInfoBLL();
|
}
|
|
//页面加载
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
BindList();
|
}
|
|
if (Request["delete"] != null)
|
{
|
Pay_BankInfo model = bll_Pay_BankInfoBLL.GetModel(Request["delete"].ToInt32());
|
if (bll_Pay_BankInfoBLL.DeleteModel(model))
|
{
|
JavaScript.MessageBox("删除成功", this, "window.location='/Pages/pay/BankInfoList.aspx'");
|
}
|
else
|
{
|
JavaScript.MessageBox("删除失败", this);
|
}
|
}
|
}
|
|
/// <summary>
|
/// 绑定数据
|
/// </summary>
|
private void BindList()
|
{
|
this.RepClientList.DataSource = bll_Pay_BankInfoBLL.GetModelListByMemberId(CurrentUser.MemberId);
|
this.RepClientList.DataBind();
|
}
|
}
|
}
|