怎么用ASP根据数据路内容制作表格

来源:百度知道 编辑:UC知道 时间:2024/05/22 16:24:31
目标:在后台录入数据,在前台由ASP程序自动制作三列6行的表格,新的数据出来了,就隐藏旧的数据,请问怎么做?谢谢

<!--#include file="DBconn.asp"-->
<SCRIPT LANGUAGE="JavaScript">
<!--
function check()
{
if(checkspace(document.userinfo.username.value)) {
document.userinfo.username.focus();
alert("用户名不能为空,请重新输入!");
return false;
}
if(checkspace(document.userinfo.username.value) || document.userinfo.username.value.length < 2) {
document.userinfo.username.focus();
alert("用户名长度不能小于2,请重新输入!");
return false;
}
if(checkspace(document.userinfo.password.value) || document.userinfo.password.value.length < 6) {
document.userinfo.password.focus();
alert("密码长度不能小于6,请重新输入!");
return false;
}
if(document.userinfo.password.value != document.userinfo.password1.value) {
document.userinfo.password.focus();
document.userinfo.password.value = '';
document.userinfo.password1.value = '';
ale