Password Form
-
Can any body help me? I have create window form using C#.There are two item that is textbox for user key in password and OK button to link new form. What is the code to take user input in the text box. What is the code to veryfied user input is correct with the real password. If correct link to another form and aotomaticlly close this form.If wrong automaticlly close this form. TQ.....
-
Can any body help me? I have create window form using C#.There are two item that is textbox for user key in password and OK button to link new form. What is the code to take user input in the text box. What is the code to veryfied user input is correct with the real password. If correct link to another form and aotomaticlly close this form.If wrong automaticlly close this form. TQ.....
No-oe can tell you, because we don't know where the password comes from. The best asumption is a database, in which case, a proc that returns true or false for a username/password pair is the best bet.
krajah1984 wrote:
If correct link to another form and aotomaticlly close this form.If wrong automaticlly close this form.
Close(); will close a form. Is this form the main form of the app ? You could have issues here, also.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )