使用实例:
private User u = new User();
private string urlPath = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
#region 基础数据
u = new User();
u.UserName = "郑德才";
u.UserAge = "27";
u.UserSex = "男";
u.UserID = "http://www.zhengdecai.com";
urlPath = Server.MapPath("~/file/");
#endregion
cacheInfo();
}
}
/// <summary>
/// 缓存测试
/// </summary>