恼人的ASP问题,谁能帮个忙,谢谢

reinly 2001-11-27 08:47:06
源代码如下:
...
arr1=rs1.getrows()
cols=rs1.fields.count
arr2=rs2.getrows()
arr3=rs3.getrows()
rows=ubound(arr1,2)+ubound(arr2,2)+ubound(arr3,2)
...
Session("arr(rows,cols+1)")

for i=0 to cols-1
Session("arr(i,cols+1)")="hello.mdb"
for j=0 to ubound(arr1,2)-1
Session("arr(i,j)")=arr1(i,j)
next
next

...
for i=0 to ubound(arr1,2)-1
response.write Session("arr(1,j)")
next

没有错误显示
却不能显示,为什么,请高手赐教


...全文
47 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
julyclyde 2001-11-28
  • 打赏
  • 举报
回复
Yes
reinly 2001-11-27
  • 打赏
  • 举报
回复
我是想定义一个Session二维数组,这样可以吗??
julyclyde 2001-11-27
  • 打赏
  • 举报
回复
Session("arr")(i,j)

28,406

社区成员

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

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