Logon screen
-
I would like to create a logon page, but I didn't want the names store in a COTs datebase. Can I create a file store the names in it, then compare want is in the file to to want the user types in the textboxes?
bthumber wrote: Can I create a file store the names in it, then compare want is in the file to to want the user types in the textboxes? Yes, if you have a specific question in terms of C# feel free to post it. - Nick Parker
My Blog | My Articles -
bthumber wrote: Can I create a file store the names in it, then compare want is in the file to to want the user types in the textboxes? Yes, if you have a specific question in terms of C# feel free to post it. - Nick Parker
My Blog | My Articles -
bthumber wrote: The next question is how do you compare those two strings? Read about the String.Compare[^] method.
string s = "Nick"; string t = "Parker"; if(string.Compare(s, t) == 0) Console.WriteLine("Equal"); else Console.WriteLine("Not equal");
- Nick Parker
My Blog | My Articles