Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 21-Sep-11 18:21pm
v5
Comments
fjdiewornncalwe 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

 
Share this answer
 
Comments
Zubeid Hendricks 21-Sep-11 18:02pm    
Thank you sir it works ,really appreciate it
Pravin Patil, Mumbai 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900