111,126
社区成员
发帖
与我相关
我的任务
分享
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
if (Session["yh"] == null || Session["yh"] == "")
{
Response.Write("<script>window.open('GuanLilongin.aspx?cc=123','_top');</" + "script>");
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
if(Session["hy"] == null || Session["hy"].ToString() == string.Empty)
{
string script = string.Format("window.open('{0}','{1}','{2}');", "Default2.aspx", "winname","height=100, width=400, toolbar= no, menubar=no, scrollbars=no, resizable=no, location=no, status=no,top=100,left=300");
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptKey", script, true);
}
}