Accessing Database - Login System C#
Posted on 2006-10-31
I am trying to create a more secure login for my Windows App using Visual Studio 2005 C#. I have a MS Access Database, which has the following collums:
And these are the details inside:
I have used a DataGridView to connect the database to the program, I am unsure if that's correct. Anyway what I want to do is the user types their username, then password. When they click Accept (button) then I want the program to check the database, see if the user name is correct with the right password, and then return whether it is correct or not.
After that I think I should be able to handle the permissions side. So can anybody help me out please? I am not great with C# so will need it explain in idiot terms lol, with as much help with the code as possible.