PRO.UI/Index.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
// *********************************************************************************************
// 添加:
// 方案:
// 项目: PRO.UI
// 文件: Index.aspx
// 修改人: 张勇刚 2015-1-21
// 修改原因:
// 类用途描述:
// **********************************************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ext.Net;
using PRO.Common;
// 下载于www.51aspx.com
namespace PRO.UI
{
public partial class Index : System.Web.UI.Page
{
#region 自定义属性
public string username = string.Empty;
#endregion
protected void Page_Load(object sender, EventArgs e)
{
this.Unload += new EventHandler(Index_Unload);
//var userDT = this.Session["UserInfo"] as DataTable;
//if (userDT != null)
//{
// this.lbUserName.Text = userDT.Rows[0]["USERNAME"].ToString();
// LoadMenu();
// //X.Msg.Notify("提示", lbUserName.Text + ", 恭喜你<br>登录成功!<br>时间:" + DateTime.Now.ToShortDateString() + DateTime.Now.ToShortTimeString());
//}
//else
//{
// Response.Redirect("Login.aspx");//跳转页面到登录页面
//}
this.Title = Config.GetConfigString("SystemTitle");
lbCopyright.Text = Config.GetConfigString("copyright");
UserInfo userInfo = this.Session["UserInfoEntity"] as UserInfo;
if (userInfo != null)
{
this.lbUserName.Text = userInfo.UserName;
LoadMenu();
X.Msg.Notify("提示", "恭喜你,登录成功!").Show();
}
else
{
Response.Redirect("Login.aspx");//跳转页面到登录页面
}
后面还有 105 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。