If we have web application, then we will definitely have a Login module. For any login password is a must. In ASP .NET we have to make use of the property, textmode=password. We can access the password value by saying, txtPwd.Text, were txtPwd is a textbox of type password. It should be also noted that, to concatinate a string, we can use the operator += just as in C/C++.
Textbox Web Server Control - by Das
Sub MySub(sender As Object, e As EventArgs)
lblMsg.text = "Is Your First Name, " & txtFname.text & " ?"
lblMsg.text += "hmmm, you typed the password, " & txtPwd.text & " right ?"
End Sub
Re: How to get password from user using ASP.NET and textform?
If we have web application, then we will definitely have a Login module. For any login password is a must. In ASP .NET we have to make use of the property, textmode=password. We can access the password value by saying, txtPwd.Text, were txtPwd is a textbox of type password. It should be also noted that, to concatinate a string, we can use the operator += just as in C/C++.
Textbox Web Server Control - by Das
Sub MySub(sender As Object, e As EventArgs)
lblMsg.text = "Is Your First Name, " & txtFname.text & " ?"
lblMsg.text += "hmmm, you typed the password, " & txtPwd.text & " right ?"
End Sub
ASP.NET Textbox Server Control
First Name
Password