I am not sure what I am doing wrong, but I am starting to feel very stupid. I am fairly new to C# so be gentle :) .
I have an If Statement that is not working and I am not sure why. Here is my code
if ("Admin" == user)
btnAdmin.Enabled = true;
else
btnAdmin.Enabled = false;
For some reason it is always coming back false, no matter what. I need the button to only be active if the user name is Admin.
As a side note, I know this is not very secure, but I just need to get this done and will make it more secure later.
Thanks.