有关ASP代码的很简单的问题

hanky911 2003-08-20 08:55:53
我想在给别人发的邮件中列出数据库里有关他的同一字段的各个内容,请问这个循环应该怎么写,谢谢
...全文
18 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
fhxy1210 2003-08-20
  • 打赏
  • 举报
回复
没有表述清楚!
xupiao 2003-08-20
  • 打赏
  • 举报
回复
不大明白你的問題.
甘泉123 2003-08-20
  • 打赏
  • 举报
回复
set rs=conn.execute("select * from table where name='name'")
if not rs.eof then
while not rs.eof
response.write rs("body")
rs.movenext
wend
rs.close
set rs=nothing
end if

这个
甘泉123 2003-08-20
  • 打赏
  • 举报
回复
set rs=conn.execute("select * from table where name='name'
if not rs.eof then
while not rs.eof
response.write rs("body")
rs.movenext
wend
rs.close
set rs=nothing
end if

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧