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

Unhnd_Exception commented: Posts questions that make no sense by any stretch of the imagination. -2

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.

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?

Member Avatar

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.

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

M.Waqas Aslam