private void RptBind() { BLL.wx_payment_type bll = new BLL.wx_payment_type(); Model.wx_userweixin weixin = GetWeiXinCode(); this.rptList.DataSource = bll.GetList("id not in(select pTypeId from dt_payment where wid=" + weixin.id + ") and typeCode!='alipay'"); this.rptList.DataBind(); }
private void ShowInfo(int _id) { BLL.wx_payment_type bll = new BLL.wx_payment_type(); model = bll.GetModel(_id); txtTitle.Text = model.typeName; txtSortId.Text = model.sort_id.ToString(); txtImgUrl.Text = model.img_url; txtRemark.Text = model.remark; hidApi_path.Value = model.api_path; if (model.id == 2) { //支付宝 } else if (model.id == 3) { //微支付 } }
private void ShowInfo(int _id) { BLL.wx_payment_type bll = new BLL.wx_payment_type(); model = bll.GetModel(_id); txtTitle.Text = model.typeName; txtSortId.Text = model.sort_id.ToString(); txtImgUrl.Text = model.img_url; txtRemark.Text = model.remark; hidApi_path.Value = model.api_path; if (model.id==2) { //支付宝 } else if (model.id==3) { //微支付 } }