MarkItUp.SingleUserBlog.Web/ProfileCommon.cs
(完整代码) 1KBusing System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace SUBWeb {
public class ProfileCommon {
public string Name {
get { return (string)HttpContext.Current.Profile.GetPropertyValue("Name"); }
set { HttpContext.Current.Profile.SetPropertyValue("Name", value); }
}
public string Url {
get { return (string)HttpContext.Current.Profile.GetPropertyValue("Url"); }
set { HttpContext.Current.Profile.SetPropertyValue("Url", value); }
}
public string Email {
get { return (string)HttpContext.Current.Profile.GetPropertyValue("Email"); }
set { HttpContext.Current.Profile.SetPropertyValue("Email", value); }
}
public bool RememberMe {
get { return (bool)HttpContext.Current.Profile.GetPropertyValue("RememberMe"); }
set { HttpContext.Current.Profile.SetPropertyValue("RememberMe", value); }
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
