ASP.NET, SQL, XNA and More...
if (Cache["Name"] != null) Label1.Text = "Hello," + (string)Cache["Name"]; else Label1.Text = "Hello, guest! ";
Cache.Insert("Name", "Kevin", null, DateTime.Now.AddMinutes(10), TimeSpan.Zero);
No comments:
Post a Comment