一直在努力

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年2月4日

摘要: 1,页面自动刷新:把如下代码加入<head>区域中<meta http-equiv="refresh" content="20">,其中20指每隔20秒刷新一次页面. 2,页面自动跳转:把如下代码加入<head>区域中<meta http-equiv="refresh" content="20;url=http://www.njcatv.net"&... 阅读全文
posted @ 2010-02-04 23:57 一直在努力 阅读(480) 评论(0) 推荐(0) 编辑

摘要: 0.用session判断是否登陆if(Session["login"]==null){Response.Redirect("error.aspx");}1. 打开新的窗口并传送参数:传送参数:response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="++"')&l... 阅读全文
posted @ 2010-02-04 21:54 一直在努力 阅读(105) 评论(0) 推荐(0) 编辑