<% set rs = conn.execute("select top 1 * from yuyue where (CustomerUserName in ('"&request.Cookies("SITESERVER.USER.USERNAME")&"')) and CustomerConfirmed=0 ")
if rs.recordcount>0 then
Response.Write("<script type='text/javascript'>\n");
Response.Write("showPopWin('MyYuYue.aspx', 900, 600, _refresh);\n");
Response.Write(" </script>\n");
end if %>
这个应该怎样实现???
Page.ClientScript.RegisterStartupScript(typeof(string), "JsMethod", "showPopWin('MyYuYue.aspx', 900, 600, _refresh);", true);
用asp呢!!!各位!!!
this.Page.ClientScript.RegisterStartupScript(this.GetType(), "alertmessage", "alert('aaaa');", true);