Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server WPF DataGrid
MealNo  MEAL 1  MEAL 2  MEAL 3   MEAL 4  MEAL 5
1       HOT DOG BURGER  SAMOOSA  CHIPS   CAKE
2       CHEESE  PIZZA   SAUSAGE  PIE     FRIES
I would like to display it like this
Meal 1  HOT DOG CHEESE
Meal 2  BURGER  Pizza
Meal 3  SAMOOSA SAUSAGE
Meal 4  CHIPS   PIE
Meal 5  CAKE    FRIES
Meal No is PKey then MEAL1 MEAL 2 MEAL 3 MEAL 4 MEAL 5 are columns
Posted 21-Sep-11 10:57am
Edited 21-Sep-11 19:21pm
v5
Comments
Marcus Kramer at 21-Sep-11 16:19pm
   
It would help us a lot more if you would actually show us the table structures and not just the data. We can't help you unless we know the keys, etc.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Zubeid Hendricks at 21-Sep-11 18:02pm
   
Thank you sir it works ,really appreciate it
Pravin Patil, Mumbai at 22-Sep-11 0:48am
   
Nice answer..
My 5...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,142
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 22 Sep 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100