Hi simflex
simflex
Here is the code I am working with but it is coming blank when I run it.
According to your description and code ,there are several aspects should be check:
1. You could debug in BindGrid() function to check whether you have got the correctquerystring value .If not ,please refer to link below for HyperLinkField.DataNavigateUrlFormatString demo:
2.In your select sql command ,you lose a "q" in the second query string , modify:
&uerystring("dept")
To
&Request.QueryString("dept")
3. There is no ManagerID in your Emp table , so change the where condition from :
e.ManagerID
to
a.ManagerID
I would suggest you could firstly make your sql command in sql database(SSMS) to confirm you get the correct emp list with the sql command .
Best Regards,
Nan Yu