国庆股市:在asp中如何显示成这样!!急
来源:百度文库 编辑:中科新闻网 时间:2024/05/04 02:55:33
<街道:** 宿舍:**>
编号 姓名 楼号 单元 入网日期 。。
** ** ** ** **
** ** ** ** **
** ** ** ** **
<街道:** 宿舍:**>
编号 姓名 楼号 单元 入网日期 。。
** ** ** ** **
** ** ** ** **
** ** ** ** **
<街道:** 宿舍:**>
编号 姓名 楼号 单元 入网日期 。。
** ** ** ** **
** ** ** ** **
** ** ** ** **
不是这样的,是动态从数据库里取,然后打印出来是这样,俺没有一点头绪
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>标题</title>
</head>
<body>
<街道:** 宿舍:**> <BR>
编号 姓名 楼号 单元 入网日期 。。 <BR>
** ** ** ** ** <BR>
** ** ** ** ** <BR>
** ** ** ** ** <BR>
<街道:** 宿舍:**> <BR>
编号 姓名 楼号 单元 入网日期 。。 <BR>
** ** ** ** ** <BR>
** ** ** ** ** <BR>
** ** ** ** ** <BR>
<街道:** 宿舍:**> <BR>
编号 姓名 楼号 单元 入网日期 。。 <BR>
** ** ** ** ** <BR>
** ** ** ** ** <BR>
** ** ** ** **</body>
</html>
太简单了。如果就这样的话html就可以了。
先用excel做成这样的表格,然后http://www.2and2.net/Uploads/Images/wiseless200605166.jpg
可以点击"查看原代码"
看看源码才知道错在哪里
连接数据库的字符串名 recordsettemp
<%response.write"<"%>街道:<%=recordsettemp("街道")%> 宿舍:<%=recordsettemp("宿舍")%><%response.write">"%> <BR>
编号 姓名 .. <BR>
<%do while not recordsettemp.eof and recordsettemp.bof then%>
<%=recordsettemp("编号")%><%=recordsettemp("姓名")%><BR>
<%recordsettemp.movenext
loop%>