日期:2014-05-16  浏览次数:20818 次

asp分页问题
以下是代码:为什么查询结果显示出来后,点下一页就直接跳回到查询页面了,如果不用action=Search,分页显示就是正常的
<!--#include file="INC/IsSignIN.asp" -->
<!--#include file="INC/conn.asp" -->
<!--#include file="INC/Date.asp"-->
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<link href="Images/ak_style.css" rel="stylesheet" type="text/css" />
<META http-equiv=Page-Enter content=crm>
<META http-equiv=Page-Exit content=crm>
<META content="MSHTML 6.00.3790.2858" name=GENERATOR>
<link id=Main-File rel=Main-File href="./">

<style type="text/css">
<!--
.STYLE1 {color: #999999}
.STYLE2 {font-weight: bold}
.style20 {color: #000000; font-weight: bold; }
.STYLE3 {color: #FF0000}
.style23 { font-size: 16px;
font-weight: bold;
}
-->
</style>
<body>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="table1">
  <tr>
    <td class="AK_Td_Top"><table cellspacing="0" cellpadding="0" width="100%" border="0" id="table2">
      <tr>
        <td width="12" height="25"><img height="25" src="Images/tab_03.gif" width="12" /></td>
        <td><b>&nbsp; </b> <img src="Images/AK_Add.gif" width="14" height="14" />&nbsp;<strong>员工公积金明细查询&nbsp;</strong> | <span class="STYLE3" style="color:red">        &nbsp;</span>  &nbsp;</td>
        <td width="16"><img height="25" src="Images/tab_07.gif" width="16" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>

      <form action="yuangong_gongjijin_search.asp?action=Search" method="post" name="form1" id="form1" onSubmit="return CheckForm()">
                <p>&nbsp;</p>
                <table width="601" border="1" align="center" cellpadding="1" cellspacing="0" bordercolor="#000000" bgcolor="#CCCCCC">
                  <tr>
                    <td height="32"  align="right" bgcolor="#CCCCCC"><div align="center"><span class="style23">公积金购买明细查询</span></div></td>
                  </tr>
                  <tr align="center">
             &nbs