I have a gridview on a form pulling user data. I have also created a basic login system where users login and their username/password is checked against a table in SQL Server 2005.
The gridview is on Form 2 but i am having great difficulty in returning the records in the gridview for the user that is currently logged in.
How can i pass the user logged in value to the gridview to only return the logged in user records only.
Please help as i am lost
The gridview is on Form 2 but i am having great difficulty in returning the records in the gridview for the user that is currently logged in.
How can i pass the user logged in value to the gridview to only return the logged in user records only.
Please help as i am lost