1
Answer

multiple row data from database into single row in gridview

deepa ashwi

deepa ashwi

10y
1k
1
In c# asp.net , how to display multiple row data from database in to a single row in gridview 


eg:
Output which i want it to be:


StaffName     |    Role      |   GroupNumber
Adrian            |   Lecturer  |   1,2

Instead of:

StaffName     |    Role      |   GroupNumber
Adrian            |   Lecturer  |   1
Adrian            |   Lecturer  |   2



Answers (1)