我正在查询数据库以获取表格数据
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
}