www.pudn.com > chat.rar > showmessage.aspx.cs, change:2011-10-12,size:851b


using System; 
using System.Collections; 
using System.ComponentModel; 
using System.Data; 
using System.Drawing; 
using System.Web; 
using System.Web.SessionState; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
using System.Web.UI.HtmlControls; 
 
public partial class showmessage : System.Web.UI.Page 
{ 
    protected void Page_Load(object sender, EventArgs e) 
    { 
        if (Application["show"] == null) 
        { 
            Application.Lock(); 
            Application["show"] =Application["content"]; 
            Application.UnLock(); 
 
 
        } 
        Response.Write(Application["show"].ToString()); 
       InitData(); 
    } 
 
 
    private void InitData() 
    { 
        Response.Write(Application["username"].ToString() + "  " + "登录"); 
        Response.Write(Application["createtime"] + "<br>"); 
    } 
}