<% set conn=Server.CreateObject("Adodb.Connection") dbPath=Server.MapPath("data/votedata.mdb") conn.open "Provider=Microsoft.Jet.OleDb.4.0;Data Source="&dbPath '显示调查的子过程 sub ShowVote() dim sqlVote,rsVote,i sqlVote="select top 1 * from Vote where IsSelected=True" Set rsVote= Server.CreateObject("ADODB.Recordset") rsVote.open sqlVote,conn,1,1 if rsVote.bof and rsVote.eof then response.Write " 没有任何调查" else response.write "" 'response.write "
    " & rsVote("Title") & "
" if rsVote("VoteType")="Single" then for i=1 to 8 if trim(rsVote("Select" & i) & "")="" then exit for response.Write "" next else for i=1 to 8 if trim(rsVote("Select" & i) & "")="" then exit for response.Write "" 'response.Write "" & rsVote("Select" & i) & "
" next end if response.write "
" & rsVote("Select" & i) & "
" & rsVote("Select" & i) & "
" response.write "" response.write "" response.write "
" response.write "
  " response.write "
" response.write "
" end if rsVote.close set rsVote=nothing end sub %> 温州永隆管件有限公司
 
 
                          | 公司简介 | 产品信息 | 网上订单 | 客户反馈 | 联系我们 | English
版权所有; 温州永隆管件有限公司| 技术支持:华盟科技
地址:温州永强机场大道3398号  E-mail:wsk@wsk.cn
电话:0577-86919889 86916365 传真:0577-86919887  浙ICP备05002996号
<%CALL ShowVote()%>