我的asp程序是:这样编写就是在你提交答案时如果有5个题目没有回答,就弹出5次对话框,我只想弹出一次,不

[复制链接]
查看11 | 回复2 | 2010-12-31 22:16:01 | 显示全部楼层 |阅读模式
body>

[img][/img]

[img][/img]

[img][/img]

[img][/img]

[img][/img]

[img][/img]




[table]

.





" type="radio" value="A" />









" value="B" />










" type="radio" value="C" />







" type="radio" value="D" />




0 then
select case request(i)
case "A"
sql="update title set nA=nA+1 where id="&i
conn.execute sql
case "B"
sql="update title set nB=nB+1 where id="&i
conn.execute sql
case "C"
sql="update title set nC=nC+1 where id="&i
conn.execute sql
case "D"
sql="update title set nD=nD+1 where id="&i
conn.execute sql
case ""
%>


回复

使用道具 举报

千问 | 2010-12-31 22:16:01 | 显示全部楼层
[table]
[tr]
回复

使用道具 举报

千问 | 2010-12-31 22:16:01 | 显示全部楼层
我来回答吧<% function OneDayWeek(days) d = dateadd("d",days ,now()) wd = weekday( d ) str = "" if wd = 1 thenstr = "星
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行