I know how to add an array eq. array.add('SMITH'), But I am not sure how to add an array with two columns and have a multiple row, as I know its like this: eq. array.add(new twocol(getvalue(0), getvalue(1)). I just need the data to be align within the row or column. I don't need the data fieldname: like Firstname or Lastname, I just need the direct data output. The development of this program is a database from sqlReader.
eq:
| john , marose
| mark , symber
| hurry , suns
| joseph , molen
| peter , osborn
Just like that :)
And I want to insert:
| rick , soapy
| norman , norton
Just like that :)
what is the correct command procedure for this in array or (ArrayList if is better than array for this method).
Start Free Trial