EasyShop/siteAdmin/index.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using conn;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using MyModels;
using ExeSql;
using BLL;
using Easy.COMMON;
namespace Mall.siteAdmin
{
public partial class index : System.Web.UI.Page
{
public string strUrl = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
string loginuser = MyCookie.getCookie("MLoginUser");
if (!string.IsNullOrEmpty(loginuser))
{
if (!string.IsNullOrEmpty(loginuser))
{
TB_MC_Admin tma = new TB_MC_Admin();
tma.Userid = loginuser;
string GetMenuString = tma.GetMenuIDString();
DataSet ds = tma.GetThirdMenuDataSet(GetMenuString);
int num = ds.Tables[0].Rows.Count;
if (num > 0)
{
strUrl = ds.Tables[0].Rows[0]["NavAspx"].ToString();
}
}
}
else
{
Response.Redirect("M_UserLogin.aspx");
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。