📄 moneyinfo.aspx.cs
字号:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
namespace YXShop.Web.Admin.Orders
{
public partial class moneyInfo : System.Web.UI.Page
{
public static string orderID = "";
YXShop.BLL.RemittanceInfo remiBll = new YXShop.BLL.RemittanceInfo();//银行汇款
YXShop.BLL.PrepayMoney prepBll = new YXShop.BLL.PrepayMoney();//预付款支付
YXShop.BLL.PaymentMoney paymBll = new YXShop.BLL.PaymentMoney();//现金支付
protected void Page_Load(object sender, EventArgs e)
{
if (Session["AdminID"] == null)
{
Response.Redirect("../index.aspx", true);
}
else
{
if (string.IsNullOrEmpty(Session["AdminID"].ToString()))
{
Response.Redirect("../index.aspx", true);
}
}
if ((!IsPostBack) || ((Request["Event"] != null) && (Request["Event"] != "")))
{
orderID = YXShop.Common.WebUtility.replaceStr(Request.QueryString["OrderID"]);
if (!string.IsNullOrEmpty(orderID))
{
BindMoneyInfo(orderID);
}
}
}
private void BindMoneyInfo(string orderID)
{
Repeater1.DataSource = remiBll.GetDT(orderID);
Repeater2.DataSource = prepBll.GetDT(orderID);
Repeater3.DataSource = paymBll.GetDT(orderID);
Repeater1.DataBind();
Repeater2.DataBind();
Repeater3.DataBind();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -