i'm working on coding of login form program using visual studio 2012 and SQL server 2012.
the function i want is this: when i type the password during login the password will show "*" instead of the password.
what is the coding to do that?
my login form:
Public Class Form2
Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
BackColor = Color.LightGray
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
ClassSiswa.namadatabase = "KPIRWAN"
Dim caridata As SqlClient.SqlDataReader
caridata = ClassSiswa.CariDataPengguna(ClassSiswa.opencon, TextBox1.Text, TextBox2.Text)
If Not caridata.Read Then
MsgBox("Nama dan Sandi Tidak Terdaftar")
Else
Me.Hide()
Form1.Show()
End If
ClassSiswa.closecon()
End Sub
End Class

PasswordCharproperty of textbox? Check this