Hey
On a VB form place a combo box for the user names and a
text bot for the password and a command button for login
On the form load event connect to ur database and retrive
the user names from the respective field and populate the
user names to the combo box.
On the command click event write the following code for
authentication:
dim Pwd as string
Pwd=[GET THE password of the user from the database by
SQL query]
if TxtPassword(Password text box).Text=Pwd then
Successful Authentication
else
TRy again
End if
-----Original Message-----
Hi Group,
I have VB.NET and wanted to build a simple User/Password
Login for My App.
I have a Database with 3 Field, PrimaryID, UserName &
Password. I want to beable to have a ComboBox look at the UserField and then
the User type in thePassword, how would I do something like this?
Does anybody know of any Example anywhere?
Any help Much Appreciated
Ta
Si
.