B
BenignVanilla
I've got a class that includes the following declaration and property...
Private mobjResults As SqlDataReader
Public ReadOnly Property Results() As SqlDataReader
Get
Results = mobjResults
End Get
End Property
I then have a public method that fetches some DB results into a
SQLDataReader, and places this result in mobjResults.
This works fine, except, that I use a shared DB connection, so if I
terminate the connection at any time, this recordset get eliminated, and can
no longer be accessed on the property of the object.
What object can I put the results of the sqlreader into, so that I can
disconnect the sqlreader, and just have the results in the property?
BV.
www.human8ball.com
Private mobjResults As SqlDataReader
Public ReadOnly Property Results() As SqlDataReader
Get
Results = mobjResults
End Get
End Property
I then have a public method that fetches some DB results into a
SQLDataReader, and places this result in mobjResults.
This works fine, except, that I use a shared DB connection, so if I
terminate the connection at any time, this recordset get eliminated, and can
no longer be accessed on the property of the object.
What object can I put the results of the sqlreader into, so that I can
disconnect the sqlreader, and just have the results in the property?
BV.
www.human8ball.com