0

how can we change the password in the login form when the form is executing

Votes + Comments
Posts questions that make no sense by any stretch of the imagination.
5
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by M.Waqas Aslam
-1

If you mean changing an existing user password, then you can do that with the UPDATE statement.
It would be appreciated if you can show some effort on work done so far and then also give info on any error/challenge encountered.

0

Friend you are not giving us enough clues to help you.
We'll need a better understanding of what you mean password change while the form is executing. Also we'll need to see some code in order to give you a solution that matches your code (apart from showing effort). ie Do you keep your password stored in a db or is it in an encrypted text file because your program has nothing to do with dbs?

0

Set the TextBoxPassword.Text to String.empty while the form is executing. That will set it to String.Empty while the form is executing. You could also set the TextBoxPassword.Text to "What the hell are you talking about" while the form is executing.

0

i think u want to make a simple login form with password and username change option ,
u have to simple use update statement for this ,

dim da as new sqldataadapter ("update users set (username=@username,password=@Password where userid =@userid)")

hope this will helps u

Regards
M.Waqas Aslam

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.