【简答题】
protected void Button1_Click(object sender, Args e) { if (TextBox1.Text != "" && TextBox2.Text != "") { Session["username"] = TextBox1.Text; Session["password"] = TextBox2.Text; Response.__________("welcome.aspx");} else Response.Write("
"); } public partial class welcome : System.Web.UI.Page { protected void Page_Load(object sender, Args e) { string name =__________ .ToString(); string pwd =__________ .ToString(); Response.Write("欢迎"+name+"光临本站,请记住你的密码:"+pwd ); } }
参考答案:
参考解析:
举一反三