?? tble.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=DataBase/conn.asp-->
<!--#include file=config.asp-->
<%
a=array("聯系人姓名",2,3,4,5,6,7,8,9,10,11)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無標題文檔</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
-->
</style></head>
<body>
<%response.ContentType="application/vnd.ms-excel"%>
<%
set rs=conn.execute("select LinkmanName,LinkmanDept,LinkmanTel,LinkmanHander,LinkmanEmail from tb_Linkman")
%>
<table width="100" border="1" cellspacing="0">
<tr>
<%
j=2
for i=0 to rs.fields.count-1
%>
<td align="center"><%=a(i)%></td>
<%next%>
</tr>
<%do while not rs.eof%>
<tr>
<%for i=0 to rs.fields.count-1%>
<td align="center"><%=rs(i)%></td>
<%next%>
</tr>
<%
rs.movenext
j=j+1
loop
rs.close
%>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -