Try disposing of the DataReader after you are done with it. Like this: u.Close() you = Nothing so your code should look like Sub validate_session() .... 'your code here Dim you As SqlDataReader = objCmdCheck.ExecuteReader() If u. HasRows = True Then 'Your code here Else 'Your other code goes here End If u.
Close ' This is where you should pay attention you = Nothing ... 'rest of your code here End Sub.
Solved this. Had an incorrect variable name in the second set of sql related commands – YsoL8 Jun 22 at 13:02.
There is already an open DataReader associated with this Command which must be closed first. Sub logout() Handles Me.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.