?? add_test.asp
字號:
<!--#include file="conn.asp"-->
<%
if session("user")="" then
response.write "您無此權限"
response.end
end if
'------------------------------------------------------------------------------------
'該程序由杭州新世紀經貿專修學院2001計算機信息管理系應田豐開發
'本程序按浙江省學歷文憑考試相關流程編寫,無任何抄襲代碼和盜版之嫌,大家可下載隨意修改
'苦兒聲明:
'本程序是老苦自己辛苦寫成的,希望大家能給個面子保留著作權信息,:)
'這個是第一個版本,有些地方沒有考慮到,請大家在試用后給些意見,我好繼續編寫改進版
'苦兒QQ:3431788 7551860
'MSN:kuer_cn@msn.com
'Email:simonying@163.com
'電話:0571-63413694
'移動電話:13083973989
'------------------------------------------------------------------------------------
%>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from testno"
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>添加統考場次</title>
<link rel="stylesheet" href="style.css">
</head>
<body topmargin="0">
<!--#include file="top.asp"-->
<div align="center">
<center>
<table>
<table border="1" width="400" bordercolorlight="#000000" cellspacing="0" cellpadding="4" bordercolordark="#FFFFFF"> <tr>
<td width="99" align="center">序號</td>
<td width="99" align="center">考試場次</td>
<td width="100" align="center">修改</td>
<td width="100" align="center">刪除</td>
</tr>
<%if not rs.eof then%>
<%do while not rs.eof%>
<tr>
<td width="99" align="center"><%=rs("id")%></td>
<td width="99" align="center"><%=rs("testno")%></td>
<td width="100" align="center"><a href="mod_testno.asp?id=<%=rs("id")%>">修改</a></td>
<td width="100" align="center"><a href="del_testno.asp?id=<%=rs("id")%>">刪除</a></td>
</tr>
<%rs.movenext%>
<%loop%>
<%else%>
<tr>
<td width="388" colspan="4"><marquee>暫無考試添加</marquee></td>
</tr>
<%end if%>
</table>
</center>
<div align="center">
<table border="0" width="400" bordercolorlight="#000000" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF">
<tr>
<td width="100%">
<form method="POST" action="add_test1.asp">
<table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
<tr>
<td width="33%">
<p align="right">添加統考:</td>
<center>
<td width="33%"><input type="text" name="stclass" size="20"></td>
<td width="34%"><input type="submit" value="提交" name="B1"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
<!--#include file="down.asp"-->
</body>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -