I have a table studentPhone
that looks like the following:
phone studentID
2345678 1
0562436720 1
2254754 2
0546218611 2
I want to display its data in a gridView with sqlDataSource select query as:
SELECT phone, studentID FROM studentPhone WHERE (studentID IN (1))
but the gridView display only the firstPhone of the specified studentID
. How can I solve that to display all phones for a specific ID?