答案:<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<P><INPUT id=submit1 name=submit1 type=submit value=Submit disabled=false></P>
<%
set mcomd=server.CreateObject("adodb.command")
mcomd.ActiveConnection="dsn=testsys"
mcomd.CommandText="qname"
set mprama=mcomd.CreateParameter("paratesttime",3,2,4)
'set mprama=mcomd.CreateParameter("strname",8,1,10,"历史")
mcomd.Parameters.Append mprama
set mrs=mcomd.Execute
while not mrs.bof
Response.Write mcomd.Parameters("paratesttime")
'Response.Write mrs("sub") & "<br>"
'Response.Write mrs("testtime") & "<br>"
'Response.Write mrs("testnum") & "<br>"
mrs.movenext
wend
Response.Write "kkkk"
set mcomd=nothing
%>
</BODY>
</HTML>
上一个:网络考场(11)(转)teditquestion.asp
下一个:网络考场(13)(转)testtop.asp