Hi there

I want to know if there is a way to display data in a datagrid for the person that is logged in to my application?

It's very simple:

A user will log in to my program. Then he/she can go to his/her time management form and fill their jobs did for the day. But now I want to know if I can only display his/her data in the datagrid instead of all. I have a database called 'LogbookDatabase'. In it I have lets say for now 3 tables named 'User1', 'User2', 'User3'. So this means what code can i use to determine what user it is and display only the logged in user's table data?

Thanks

use dataset, make some selective query to fill data grid, rest r easy

Yeah but I'm not quite that into database developing that's why I need some help. I know sql queries, but the problem is how do I make that query and where?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.