public void ThreadChild()
{
Label2.Text = DateTime.Now.ToString();
//Response.Write("");
//响应http必然报错
//Response.Write("script>window.open('login.aspx','','');/script>");
//通过注册即可打开窗口
Page.RegisterStartupScript("", "script>window.open('login.aspx','','');/script>");
}