📄 paymentlog.aspx.cs
字号:
namespace PowerEasy.WebSite.User.Info
{
using PowerEasy.Accessories;
using PowerEasy.Components;
using PowerEasy.Controls;
using PowerEasy.Model.Accessories;
using PowerEasy.Web.UI;
using PowerEasy.WebSite.Controls;
using System;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
public class PaymentLog : DynamicPage
{
protected ExtendedGridView EgvPayment;
protected HtmlForm form1;
protected HiddenField HdnUserName;
protected ObjectDataSource OdsPayment;
protected UserNavigation UserCenterNavigation;
protected ExtendedSiteMapPath YourPosition;
protected void EgvPayment_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Label label = e.Row.FindControl("LblPlatform") as Label;
Label label2 = e.Row.FindControl("LblStatus") as Label;
PaymentLogInfo dataItem = e.Row.DataItem as PaymentLogInfo;
if (dataItem != null)
{
if (label != null)
{
label.Text = PayPlatform.GetPayPlatformById(dataItem.PlatformId).PayPlatformName;
}
if (label2 != null)
{
label2.Text = PowerEasy.Accessories.PaymentLog.GetStatusDepict(dataItem.PlatformId, dataItem.Status);
}
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!base.IsPostBack)
{
this.HdnUserName.Value = PEContext.Current.User.UserName;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -