Could anyone please show me how to display data in a datagrid when I log in as a user into my application??
The after a successful login a form opens. That form displays data and then there's an option where the user can open a form called "Time Management". In that form I want only the table in my "Logbookdatabase" that matches the name of the the logged in person to be displayed in my datagrid.
Note that my tables are named after every user, for example if the table's name is User1 then only User1's data will be shown in the datagrid.
Any help would be appreciated...