I'm new to SQL and I'm trying to create an a login using C#, .NET and SQL Server using Visual Studio and Microsoft SQL Server Management Studio.
I created a table for the users, and it looks like this:
Then, for checking if it works, I've tried to do a simple query:
select *
from Users
where User = 'admin' and Password = 'admin'
But, it doesn't work. I tried to use other names without results.
I need a quick resolution for my clients. Thank you very much for your help.
If you need more information, please contact me.