当前位置:首页 » 操作系统 » asp源码投票

asp源码投票

发布时间: 2022-03-15 02:17:23

❶ asp投票系统(源码+论文+er图)

网上找了下,不就行了
不过插件类型居多

❷ ASP 投票系统

For your topicASP 投票系统,
联系我们需要提供问题和联系方式,
还有别的要求么,可以与我们联系,
有可能帮你,
使用网络_Hi给我留言,
此回复对于所有需求和和来访者有效,
ES:\\

❸ asp投票系统

自已写一个吧,简单死了.
http://www.aspjzy.com/9035.html
这个很好.
能用要给分啊.

❹ ASP投票代码

<%@
language="vbscript"%>
<%response.Expires
=
0%>
<!--#include
file="conn.asp"-->
<%
id=request.querystring("id")
call
isid(id)
set
rs=conn.execute("select
*
from
[VoteTitle]
where
id="&id)
%>
<html>
<head>
<title><%=rs("votetitle")%>--------在线投票代码</title>
<meta
http-equiv="Content-Type"
content="text/html;
charset=gb2312">
<style>
td,input{
font-size:
12px;
}
.table
{
border:
1px
solid
#eeeeee;
font-family:
"宋体",
Tahoma;
}
</style>
</head>
<body
leftmargin="0"
topmargin="0"
marginwidth="0"
marginheight="0"
onLoad="parent.window.document.all.dd.height=document.body.scrollHeight">
<form
name="form1"
method="post"
action="http://www.ztjjw.com/testweb/VoteGo.asp
"
target="_blank">
<table
width="800"
border="0"
cellspacing="0"
cellpadding="3"
align="center"
class="table">
<tr
bgcolor="#efefef">
<td
height="30"
class="26"><font
color="#43379D">主题:</font><%=rs("votetitle")%></td>
</tr>
<tr>
<td
>
<table
width="100%"
border="0"
cellspacing="0"
cellpadding="0">
<tr>
<%
set
rs1=conn.execute("select
*
from
[VoteSelect]
where
titleid="&id)
do
while
not
rs1.eof%>
<td
width="800"
height="30"
nowrap>
<%if
rs("votetype")=1
then%>
<input
type="radio"
name="options"
value="<%=rs1("id")%>">
<%else%>
<input
type="checkbox"
name="options2"
value="<%=rs1("id")%>">
<%end
if%>
<%=rs1("selectitem")%>
<%rs1.movenext
loop%>
</tr></table></td>
</tr>
<tr>
<td
height="40"
align="right">
<div
align="left">
<input
name="titleid"
type="hidden"
id="titleid"
value="<%=rs("id")%>">
<input
name="iptype"
type="hidden"
id="iptype"
value="<%=rs("iptype")%>">
<input
name="votetype"
type="hidden"
value="<%=rs("votetype")%>">
<input
type="submit"
name="Submit2"
value="投票">
<input
type="button"
name="Button"
value="查看结果"
onClick="window.open('http://www.ztjjw.com/testweb/voteResult.asp?titleid=<%=id%>')">
</div></td>
</tr>
</table>
</form>
</body>
</html>

❺ 求完善的ASP源代码,要求有登陆界面,投票界面,返回首页

你是在学习asp.net吧
这个题目应该是你们的作业。要连数据库吗?

❻ 谁可以给个ASP投票系统的代码啊要求:

http://down.chinaz.com/s/14496.asp
下载地址

❼ 求ASP投票系统

表一:【Vote】
1-ID【ID】自动编号
2-名称【Title】文本255
3-关联ID【GLID】数值:关联信息的ID以便在显示时区分不同信息的投票内容表二:【VoteInfo】
1-ID【ID】自动编号
2-名称【Title】文本255
3-点击量【Click】数值
4-关联ID【GLID】数值:关联表一的ID。建立多个投票选项
5-分数【Score】数值:单个选项的分数,-100~100
6-图标地址【ICOFile】文本255:显示图标的地址。建立原理:
制作显示的图片。
pic001a.gif 最大值的红色图
pic001b.gif 一般值得的图片
表一的GLID值不能为空。这个值是你的信息的ID值<%
'连接数据内容省略
%><!--#include file = Conn.asp --><%
'Infoid为你信息的ID
if Infoid<>"" then
sqlVote = "select * from Vote where Title<>''"
sqlVote = sqlVote &" and [GLID]="&Infoid
Set rsVote = Server.CreateObject("ADODB.RecordSet")
rsVote.Open sqlVote,conn,1,1
if rsVote.recordcount<>0 then '最高记录数
sqlmax="select max(Click) as maxClick from VoteInfo"
Set rsmax = Server.CreateObject("ADODB.RecordSet")
rsmax.open sqlmax,conn,1,1
Max_Click=int(rsmax("maxClick"))
rsmax.close
set rsmax=nothing

sqlVoteInfo = "select * from VoteInfo where Title<>''"
sqlVoteInfo = sqlVoteInfo &" and [GLID]="&rsVote("ID")
Set rsVoteInfo = Server.CreateObject("ADODB.RecordSet")
rsVoteInfo.Open sqlVoteInfo,conn,1,1
if rsVoteInfo.recordcount<>0 then
%>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="120">
<tr>
<%
for VoteInfoi=1 to rsVoteInfo.recordcount'Max_Click最大的一个数值为100'这里可以加N个条件来显示图的结果。
if rsVoteInfo("Click")=Max_Click then
InfoIMG="pic001a.gif"
else
InfoIMG="pic001b.gif"
end if
%>
<td height="100">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="120">
<tr>
<td height="100" width="100%" valign=bottom align=center>
<%=rsVoteInfo("Click")%>
<br>
<img src="<%=InfoIMG%>" height="<%=int(rsVoteInfo("Click")/Max_Click*100)%>" width="30">
</td>
</tr>
<tr>
<td height="20" width="100%">
<%=rsVoteInfo("Title")%>
</td>
</tr>
</table>
</td>
<%
rsVoteInfo.movenext
if rsVoteInfo.eof then exit for
next
%>
</tr>
</table>
<%
end if
rsVoteInfo.close
set rsVoteInfo=nothingend if
end if
rsVote.close
set rsVote=nothing
conn.close '关闭数据库
set conn=nothing
%>

❽ 用ASP编写一投票系统。。要求。。

前年给公司做了一个类似的,不过现在离职了,有代码,没把数据库带出来.

❾ 谁能提供一个用ASP做的在线投票系统源代码啊!

你想要什么样子的?已经发到你邮箱了!去看下。
参考下,自己感觉不错!!

❿ 投票系统php或者ASP简单代码

去一些源码的网站,有投票分类的。直接下一个不就行了??

热点内容
java读取properties文件 发布:2024-09-25 13:10:21 浏览:837
sql2005比sql2000 发布:2024-09-25 12:43:00 浏览:720
c语言后缀表达式求值 发布:2024-09-25 12:32:10 浏览:260
为什么只有安卓的多任务是重叠的 发布:2024-09-25 12:32:03 浏览:510
数据库前沿 发布:2024-09-25 12:30:30 浏览:977
算法学习书籍 发布:2024-09-25 11:53:35 浏览:687
安卓系统在哪里有格式化 发布:2024-09-25 11:14:27 浏览:891
javastruct 发布:2024-09-25 11:07:04 浏览:378
c语言几几开 发布:2024-09-25 10:46:07 浏览:630
技能树算法 发布:2024-09-25 10:45:12 浏览:168