using System;
using System.Collections.Generic;}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Creat : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
if (Request.QueryString["userName"] != null)
{
this.Label1.Text =
" 欢迎登陆" + Request.QueryString["userName"] + "
";
this.Label1.Text +=
" 当前时间是: " + DateTime.Now.ToString();
}
else
{
Response.Redirect("Default.aspx");
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Creat : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
if (Request.QueryString["userName"] != null)
{
this.Label1.Text =
" 欢迎登陆" + Request.QueryString["userName"] + "
";
this.Label1.Text +=
" 当前时间是: " + DateTime.Now.ToString();
}
else
{
Response.Redirect("Default.aspx");
}
}
}
}
}