Ive got a query like this:
cmd.CommandText = "SELECT Username, Password, UserID FROM Users";
I enter a username into a textbox and want the userid in return.
So, how do I get the UserID that matches the Username and store it to a variable without any queries? Just with C#.
Thanks in advance.
View Complete Post