Hi simflex,
Is the gridview used to show the employees information ? If yes , in page_load event :
1.get the manager id (id of the user who has login ) .
2. connect to the database ,according to the manager id ,you could get the Dept id from emp table and join the Angulers table to query the employee list according to the manager id and Dept id .
3. bind the result to gridview .
Best Regards,
Nan Yu