main.aspx.cs

(完整代码) 759B

using System;
using System.Web;

public partial class main : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.Cookies["roleid"] != null)
        {
            if (Request.Cookies["name"] != null)
            {
                litName.Text = HttpUtility.UrlDecode(HttpContext.Current.Request.Cookies["name"].Value);
                LitRole.Text = HttpUtility.UrlDecode(HttpContext.Current.Request.Cookies["role"].Value);
                littime.Text = DateTime.Now.ToString("D");
            }// 下载于www.51aspx.com
        }
        else
        {
            MessageBox.ShowAndRedirect(this.Page, "对不起!您还没有登录系统。", "Logout.aspx");
        }

    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。