Re: How to display results based on employees manager and department
Hi ,You could set you DataKeyNames like this in your gridview markup:<asp:GridView .... DataKeyNames="ItemID" ...>Then you could get the value in code behind...
View ArticleRe: How to display results based on employees manager and department
Hi Nan,I think you missed my point.I have this in gridview:<head><style type="text/css"> .dhide { display:none; }</style></head><asp:BoundField...
View ArticleRe: How to display results based on employees manager and department
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...
View ArticleRe: How to display results based on employees manager and department
Sorry Nan but I think I explained my problem incorrectly.Let me show the markup again with some slight changes:<head><style type="text/css"> .dhide { display:none;...
View ArticleRe: How to display results based on employees manager and department
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...
View ArticleHow to display results based on employees manager and department
Dear experts,I do really appreciate your highly valued expertise.I am trying to think up a solution but I am frozen.First we have two tables ( I didn't design it in case it is flawed), Emp table and...
View Article