Click here to Skip to main content
15,914,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how do i call just a single entity from data base and use it as a report, for example am using asp.net (visual basic), I am developing online result for secondary school, iwant a student to view only his or her result from database using report form
Posted
Updated 16-Sep-12 23:41pm
v2
Comments
deepakaitr12345 17-Sep-12 8:17am    
You can check it like this
if(role=="Student")
then put the where claue with the student select id
else
do not apply the where clause

Thanks

1 solution

In query put where clause
Ex where Student = selected student then the report will come for only his records


Thank You
 
Share this answer
 

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