I have the following sql table schema:
procudtId productPrice Color
==================================
1 3 $ Blue
1 3 $ Red
1 3 $ Green
2 5 $ Blue
2 5 $ Red
Using c# code I got this into dataSet.
How can I use linq to dataSet to build an array that looks like
[ price:"3$", ColorList:<"Blue","Red","Green"> ;
price:"5$", ColorList:<"Blue","Red">]
Thanks
I think this will work:
If that doesn’t do it, let me know and I’ll edit.