ballot.asp

来自「强大的部门网站功能」· ASP 代码 · 共 26 行

ASP
26
字号
<!--#include file="conn.asp" -->
<%

	sql="select zf11_tp,mymode from zf11_tp" 
		set rs=server.createobject("adodb.recordset")
			rs.open sql,conn,3,2
	Response.Write "&mymode="& int(rs("mymode"))
	Response.Write "&batxttop="& rs("zf11_tp")
	sql="select * from zf11_tp_news where zf11_tp_news<>'' ORDER BY id asc"
		set rs=server.createobject("adodb.recordset")
			rs.open sql,conn,3,2
	For i=1 to 5
	if rs.eof then Exit for
		batxt=batxt & flashSql(rs("zf11_tp_news")) & "chr(124)"
		bahitid=bahitid & flashSql(rs("id")) & "chr(124)"
		bahit=bahit & flashSql(rs("hit")) & "chr(124)"
		rs.movenext
	Next
	Response.Write "&batxt="& batxt
	Response.Write "&bahitid="& bahitid
	Response.Write "&bahit="& bahit
	Response.Write "&bamyall="& rs.RecordCount
	Response.Write "&ff=aaaa"
set rs=nothing
set conn=nothing	
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?