I have two tables
Example: class table
| ClassId | Cassname |
| 1 | 10th class |
student table
| classid | stuName | Address |
| 1 | xyz | hyd |
| 1 | abc | hyd |
| 1 | pqr | hyd |
Now my requirement is i want to insert data following way
| classid | stName | Address | stuName | address | stuname | address | ||
| 1 | xyz | hyd | abc | hyd | pqr | hyd |
i want to display multiple columns data in single row
please help me
Thanks inadvance

Benjamin KemnerRank #7,492 · 240 reputationPosted Jul 27, 2011, 9:52 PM EDT
I think you can not do it exactly in that way you want. But there is the possibility to create a list procedure to create one column with the row data like this:
Ist this a way for you?
Suthish NairRank #92 · 22.8K reputationPosted Jul 27, 2011, 10:07 PM EDT
srinivas P127 reputationPosted Jul 27, 2011, 11:00 PM EDT
Partydetailes are in partydetais table
Are you got my point?
Suthish NairRank #92 · 22.8K reputationPosted Jul 28, 2011, 3:19 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Jul 28, 2011, 8:32 AM EDT
srinivas P127 reputationPosted Jul 29, 2011, 1:35 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Jul 30, 2011, 1:57 AM EDT