right.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class right : System.Web.UI.Page
{
public string CJurl = "";
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Cookies["roleid"] != null)
{
Authority myauthority = new Authority();
int RoleID = Convert.ToInt16(Server.HtmlEncode(Request.Cookies["roleid"].Value));
int ModuleID_S = 38;
int ModuleID_T = 23;
if (myauthority.QXExists(RoleID, ModuleID_S))
{
CJurl = "MyExam/HistoryExam.aspx";
// 下载于www.51aspx.com
}
else if (myauthority.QXExists(RoleID, ModuleID_T))
{
CJurl = "ExamManage/ScoreSelect.aspx";
}
}
else
{
MessageBox.ShowAndRedirect(this.Page, "对不起!您还没有登录系统。", "../Logout.aspx");
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
