写了个页面,之前运行很正常。但是当下午再次测试时发现Page_Load事件不执行了,具体的代码如下:<%@ Page Language="C#" AutoEventWireup="True" CodeFile="SQLDataImport.aspx.cs" Inherits="SQLDataImport" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<script type="text/javascript">
setTimeout('winClose()','300000')
function winClose()
{
window.opener=null;
window.close();
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
请各位大虾帮帮忙了!
<head runat="server">
<title>无标题页</title>
<script type="text/javascript">
setTimeout('winClose()','300000')
function winClose()
{
window.opener=null;
window.close();
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
请各位大虾帮帮忙了!
解决方案 »
- 关于这正表达式的问题
- 下载文件总是出现乱码,文件名是中文名,哪位给一段代码。。
- 急!!在线等!100分向高手请教!用C#如何读取chrome浏览器开发人员工具Elements中html内容
- 【在线】截取字符串。测试可用即结贴。感谢国家。谢谢。
- ASP.net 在连接中加入变量???急银屏急
- 如何对DataSet的Rows循环操作
- 怎样触发gridview linkbutton的click事件
- ASP.net之Ole数据库问题,求救!!
- 为什么我的TreeView看不到啊?
- 网络数据浏览项目,用ASP、JSP、还是ASP.NET?
- 请教aspnet C#页面如何向javascript传递数据,请教大家!!希望大家帮一下忙
- 微软图表控件问题
pageload里有什么?
好像不加引号吧
很准确。asp.net可以检测到客户端是否已经断开的!