Click here to Skip to main content
15,894,460 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Comments
thatraja 16-Dec-13 6:20am    
Add a WHERE condition based on logged user

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900