I have a <asp:TextBox
with TextMode="Password"
. How can I read the value that the user entered, using the codebehind?
I want to create a new user with code like this, but PasswordTextBox.Text
is always an empty string.
Membership.CreateUser(Username, PasswordTextBox.Text)