Chapto 08: Function UserPasswordMatches
Hi
The above function always return the first row of the application
Dim CheckUserDataView As DataView = CheckUserTable.DefaultView
CheckUserDataView.RowFilter = "Name = '" + UserName + "'"
With CheckUserDataView
If .Table.Rows(0).Item("Password").ToString.Trim = Password Then
Return True
Please check.I am unable to login second time
Brgds
Pradns
Brgds
Prad
|