Hellow friends,i have got an application where by a Super Student can add other lists of students with his user ID,.i have roles where by if one is in role of students,when logged in he can see also list of what was added by other ;Super Student",What i need to do filter the records when fetching data from database I.e Each should only view the records he added according to his ID,How i like to do it is check the user Id of currently logged in user ,and only let him view his records which are being populated in a dropdown combobox.Someone guide me about this.
Thanks