Joined
Last Seen
-3 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: [COLOR="Green"][B][I][U]open connection befor declaring the ExecuteReader[/U][/I][/B][/COLOR][TEX][/TEX] like this Dim sql = "SELECT Username,password FROM Login WHERE Username = '" & TextBox1.Text & "' AND password = '" & TextBox2.Text & "'" con.Open() Dim cmd As OleDbCommand = New OleDbCommand(sql, con) Dim dr As OleDbDataReader = cmd.ExecuteReader |
The End.