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) { //微支付 } }