Please People help me to achieve this in Vb.nt and C#, i will be very gratefull:
i want to achieve the "axterics' display" i.e "********" while a user is typing on textbox in asp.net form. Please help me. and advice me how to put into these codes below:

If Not TextBox1.Text Is Nothing Or TextBox2.Text Is Nothing Then
        End If
        Dim stdID As String
        Dim Pword As String
        stdID = Convert.ToString(TextBox1.Text)
        Pword = Convert.ToString(TextBox2.Text)
        If (Pword = "ossms") Then
            VerifyID(stdID)
        Else

Thank very much!

Member Avatar for stbuchok

For the textbox that you want to have *, set it's textmode to password.

For example:

<asp:TextBox id="TextBox1" TextMode="Password" runat="server" />

<asp:TextBox id="TextBox1" TextMode="Password" runat="server" />


by default it consider singleline textmode .so please change the textmode to hide the password input.

and if any query regarding this check my blog :
<links removed>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.