this is my code -
for i as integer = 0 to rows.count - 1
output &= "Name =" & row(i)("Name")
output &= "lastName =" & row(i)("lastName")
... 50 more fields
next
i need the output to be like this
Applicant1Name = MikeApplicant1lastName = ditkaApplicant2Name = TomApplicant2lastName = Brady ...
how do i do this without putting the following code 50 times - output &= "Applicant" & i.tostring() + 1 &"Name =" & row(i)("Name") ... and so on. is there a way to make a for loop and run applicant 1,2,3,4.... in one shot? thanks