ID Model Color
1 BMW Red
2 BMW Green
3 BMW Yellow
4 BMW Black
5 Golf Red
6 Golf Green
7 Golf Yellow
8 Golf Black
I have model of the car and colors as table and i want to make it in one row as this. This will display in datagrid in c#
Model Color1 Color2 Color3 Color4
BMW Red Green Yellow Black
Golf Red Green Yellow Black
--Edit I have a car model that has four colors. I want this to show in one row. new name columns can be anything can be ID but ID can be changed.
So it can be like...
Model 1 2 3 4
BMW Red Green Yellow Black
Golf Red Green Yellow Black