⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pointlogdetail.cs

📁 动易SiteFactory&#8482 网上商店系统1.0源代码
💻 CS
字号:
namespace PowerEasy.WebSite.Admin.User
{
    using PowerEasy.Controls;
    using PowerEasy.Model.UserManage;
    using PowerEasy.UserManage;
    using PowerEasy.Web.UI;
    using System;
    using System.Web.UI.WebControls;

    public class PointLogDetail : AdminPage
    {
        protected Label LblIncomePayOut;
        protected Label LblInputer;
        protected Label LblIP;
        protected Label LblLogTime;
        protected Label LblMemo;
        protected Label LblRemark;
        protected Label LblTimes;
        protected Label LblUserName;
        protected ExtendedSiteMapPath SmpNavigator;

        protected void Page_Load(object sender, EventArgs e)
        {
            int logId = BasePage.RequestInt32("LogID");
            if (!this.Page.IsPostBack)
            {
                UserPointLogInfo pointLogById = UserPointLog.GetPointLogById(logId);
                if (!pointLogById.IsNull)
                {
                    this.LblLogTime.Text = pointLogById.LogTime.ToString();
                    this.LblUserName.Text = pointLogById.UserName;
                    this.LblIP.Text = pointLogById.IP;
                    if (pointLogById.IncomePayOut == 1)
                    {
                        this.LblIncomePayOut.Text = "收入 " + pointLogById.Point.ToString();
                    }
                    else
                    {
                        this.LblIncomePayOut.Text = "支出 " + pointLogById.Point.ToString();
                    }
                    this.LblTimes.Text = pointLogById.Times.ToString();
                    this.LblInputer.Text = pointLogById.Inputer;
                    this.LblRemark.Text = pointLogById.Remark;
                    this.LblMemo.Text = pointLogById.Memo;
                }
                else
                {
                    AdminPage.WriteErrMsg("<li>找不到对应记录!</li>");
                }
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -