这是我的代码 -
for i as integer = 0 to rows.count - 1
output &= "Name =" & row(i)("Name")
output &= "lastName =" & row(i)("lastName")
... 50 more fields
next
Run Code Online (Sandbox Code Playgroud)
我需要输出像这样
Applicant1Name = MikeApplicant1lastName = ditkaApplicant2Name = TomApplicant2lastName = Brady ...
如何在不添加以下代码50次的情况下执行此操作 - 输出&="申请人"&i.tostring()+ 1&"名称="和行(i)("名称")...等等.有没有办法制作一个for循环并一次性运行申请人1,2,3,4 .... 谢谢