SQL="SELECT distinct d.user FROM alumgrupo a, datos d, grupos g WHERE a.idalumno= d.user and a.idgrupo=g.idgrupo "
El error que me da es:
Item cannot be found in the collection corresponding to the requested name or ordinal.
Sin embargo si hago:
SELECT * no hay ningún problema