Convert tabular List data to Rowa in C#
<p>I am querying database to get Tabular data</p>

<pre><code>ID   NAME
1     ABC
2     XYZ
3     IJK
4     LMN
5     OPQ
6     RSS
7     NTN
8     UPS
9     DHL
10    XXX   

I want this to convert it into following format to display in Grid

1  ABC    2 XYZ     3 IJK
4  LMN    5 OPQ     6 RSS
7  NTN    8 UPS     9 DHL
10 XXX


I want to Convert it into a List of Following Object

Class NewData
{
  Int Id1
  string Name1
  int id2
  string Name2
  int id3
  string Name3
</code></pre>

<p>}</p>
