# Displaying 4 Columns: 1 Row Equals 2 Entries.

posted 12 years ago

I have run across an interesting problem. I need to display some data using 4 columns. The problem I am having is that columns 1 and 2 are the same as 3 and 4 except columns 3 and 4 are the next entry in the ResultSet.

I have no problems using just 2 columns and have 1 entry per row. But I need 2 entries per row and I am unclear on how to do this while iterating over my collection of data. Any hints, tips would be appreciated.

Thanks.

I have no problems using just 2 columns and have 1 entry per row. But I need 2 entries per row and I am unclear on how to do this while iterating over my collection of data. Any hints, tips would be appreciated.

Thanks.

Eric Pascarello

author

Rancher

Rancher

Posts: 15385

6