954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

pass OleDbDataReader to table

I am trying to pass the OleDbDataReader to table that I can pass out of a function.

Robert Walker
Newbie Poster
12 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

I answered myself, if anyone needs

Dim myReader As New DataSet
myAdapt.Fill(myReader)
Return myReader

Robert Walker
Newbie Poster
12 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

Just make sure to close the reader before opening any others on the same connection.

ESHbyESH
Newbie Poster
6 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You