Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii ,
I have two roles employee and manager .. both accesing one page on which there is gridview .. what i want to do is .. if manager deletes the data from that gridview .. i want automatically refresh my other session role which is employee when both are logged in ..how should i do that ..
Posted
Comments
Torakami 19-Aug-13 7:54am    
Its bit confusing.. I am using Linq to sql . So i want something which refreshed my gridview only when the item gets deleted
Asp_Learner 19-Aug-13 10:54am    
you wants to do when both the users are logged in simultaneously ,If manager changes the data ,Employee don't need to refresh the page and grid should show the changes made by manager.

 
Share this answer
 
Call the function which binds the gridview to datasource after delete operation.In case of LINQ re bind the gridview.

Hope it help.
 
Share this answer
 
Comments
Asp_Learner 19-Aug-13 10:53am    
He wants to do when both the users are logged in simultaneously ,If manager changes the data ,Employee don't need to refresh the page and grid should show the changes made by manager.
Torakami 20-Aug-13 2:11am    
yes..

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