I think you need to reconsidder your design. Why don't you try something like this:
for(int i=1; i<=50; i++)
{
obj.getVAData(i);
}
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.