pass OleDbDataReader to table

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2005
Posts: 12
Reputation: Robert Walker is an unknown quantity at this point 
Solved Threads: 0
Robert Walker Robert Walker is offline Offline
Newbie Poster

pass OleDbDataReader to table

 
0
  #1
May 12th, 2005
I am trying to pass the OleDbDataReader to table that I can pass out of a function.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 12
Reputation: Robert Walker is an unknown quantity at this point 
Solved Threads: 0
Robert Walker Robert Walker is offline Offline
Newbie Poster

Re: pass OleDbDataReader to table

 
0
  #2
May 13th, 2005
I answered myself, if anyone needs

Dim myReader As New DataSet
myAdapt.Fill(myReader)
Return myReader
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 6
Reputation: ESHbyESH is an unknown quantity at this point 
Solved Threads: 0
ESHbyESH's Avatar
ESHbyESH ESHbyESH is offline Offline
Newbie Poster

Re: pass OleDbDataReader to table

 
0
  #3
May 16th, 2005
Just make sure to close the reader before opening any others on the same connection.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC