⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 table_print_f.asp

📁 client relation management system
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=DataBase/conn.asp-->

<%
sql=request("sql")
if request("sql")="" then
sql=session("sql")
end if
session("sql")=sql

show=request("show")


set rs=server.CreateObject("adodb.recordset")
sql=session("sql")
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
	font-size: 16px;
	font-style: italic;
}
body,td,th {
	font-size: 12px;
}
-->
</style>
</head>

<body>
<table width="649"  border="0" align="center">
  <tr>
    <td><span class="style1">反馈客户报表</span> </td>
  </tr>
</table>
<table width="649"  border="0" align="center" cellspacing="0">
  <tr align="center">
    <td width="14%" height="37"  class="in"><strong>客户名称</strong></td>
    <td width="10%"  class="in"><strong>反馈日期</strong></td>
	<td width="9%"  class="in"><strong>是否解决</strong></td>
	<td width="12%"  class="in"><strong>反馈主题</strong></td>
    <td width="10%"  class="in"><strong>反馈内容</strong></td>
    <td width="10%"  class="in"><strong>处理结果</strong></td>
  </tr>
		  		  <%
		  if not rs.eof then
		  tol=rs.recordcount
		  rs.pagesize=show
		  maxpage=rs.pagecount
		  requestpage=clng(request("p"))
		  if requestpage="" or requestpage=0 then
		  requestpage=1
		  end if
		  if requestpage>maxpage then
		  requestpage=maxpage
		  end if
		  if requestpage<>1 then
		  rs.move (requestpage-1)*rs.pagesize
		  end if
		  for i=1 to rs.pagesize and not rs.eof 
		  %>
  <tr align="center">
    <td height="30"><%=rs("ClientName")%></td>
    <td><%=rs("FeedbackDate")%></td>
    <td><%=rs("FeedbackFulfill")%></td>
    <td><%=rs("FeedbackTitle")%></td>
	    <td><%=rs("FeedbackContent")%></td>
        <td><%=rs("FeedbackResult")%></td>
  </tr>
		  		  <%
		  	rs.movenext
			if rs.eof then exit for
			next
			else
			response.Write("<span class='style2'>没有找到相关信息</span>")
			end if
		  %>
</table>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -