Click here to Skip to main content
15,908,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two pages, called "Staff_Common.aspx" & "Staff_Main.aspx". Both this page had griedview. "Staff_Common.aspx" can be view by all staff, but "Staff_Main.aspx" is personal for each staff. My question is, when a particular person login, how to tansfer a row from "Staff_Common" Gridview to "Staff_Main" Gridview if the user click on a row at "Staff_Common" according to the user which clicked it? The row which been transfered to "Staff_Main.aspx" sholde remain there unless been deleted by the user.
Posted

@Shameel, im sorry as im newbie to ASP.Net. How shall I store value in a session variable and read it back. Can i know how the VB code look a like..??
 
Share this answer
 
Comments
[no name] 24-Aug-11 15:15pm    
Post your questions as comments to my solution. Do not post a solution.
If what you mean is transferring data between two pages, you can store the value in a Session variable and read it back when the other page loads. To filter data based on the logged in user, you must store the User ID in a Session variable when the user logs in and query your data store with the specific User ID.
 
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