请帮助获取语法错误 [英] please help to get thro syntax error

查看:87
本文介绍了请帮助获取语法错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

for i = 1 to x
 Label1.Text = Request.QueryString("ta(i)")
 Label2.Text = Request.QueryString("tb(i)")
 Label3.Text = Request.QueryString("tc(i)")
 Label4.Text = Request.QueryString("td(i)")
next


给我的结果是
12,10
25,25
45,56
56,78

但我想要结果为
12
25
45
56

10
25
56
78


gives me the result as
12,10
25,25
45,56
56,78

but i want the result as
12
25
45
56

10
25
56
78

推荐答案

好吧,这不是语法错误,您的代码正在执行您所要求的操作.因此,现在您需要拆分每个查询字符串值,以便可以构建两个集合,并一个接一个地显示它们.
Well, that''s not a syntax error, your code is doing what you asked. So, now you need to split each query string value so you can build two collections, and show them one after the other.


这篇关于请帮助获取语法错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆