using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace MESWebSite.Manage { public partial class CommonlyInspectionVersion : System.Web.UI.Page { public string strusername = ""; public string struserID = ""; protected void Page_Load(object sender, EventArgs e) { if (Request.Cookies["LoginUserInfo"] != null) { strusername = Request.Cookies["LoginUserInfo"]["RealName"].Trim(); struserID = Request.Cookies["LoginUserInfo"]["UserID"].Trim(); UserID.Value = struserID; } else { Response.Write(""); } } } }