(moved)
Printable View
(moved)
???Quote:
Originally posted by Bluei2
Attached with this is the Project that I am doing. Please check it..
Anyways , If I remember correctly I did something similar with Olecommand obj and dataReader . command obj executes SQL Statement and returns the result to datareader . Then you would have to check datareader if returns true , data is correct then , or false if not correct .
What code should I write to do this?
Attach the project so we can take a look.Quote:
Originally posted by Bluei2
This are the Users and the Password of my Project.
UserName Password
=========================
GouLi a
Volenger 123
Using this code to Log in
'Filter
DataSet11.User.DefaultView.RowFilter = "UserName = '" & TextBox1.Text & "' And Password='" & TextBox2.Text & "'"
If DataSet11.User.Count = 1 Then
Dim aForm As New MDIForm()
aForm.Show()
End If
I have already the correct UserName and Password but I can't log in. Attached with this is the Project that I am doing. Please check it..
Kindly help me to do this? Or any other idea to make my Login more presentable.
In case you couldn't figure it out yet , I posted a demo in the CodeBank Section . The same way I was talking about !Quote:
Originally posted by Bluei2
What code should I write to do this?
here : http://www.vbforums.com/showthread.p...hreadid=250863