Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

VB.NET Invalid attempt to read when reader is closed!

Status
Not open for further replies.

beast

Newbie level 5
Joined
Mar 15, 2004
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
66
invalid attempt to read when reader is closed.

Hi,
m facing a very awefull problem, m using data reader object to get the data in a function of class. So when i call the function once without closing the data reader, then its errorless, but next time when i call the same function of the class it raise me an error that "first close the data reader object".

Another case if i close the data reader at the end of the same function then where m receiving or calling the function i can't get the values in data reader, or data reader is empty i think, and the error raise is

"Invalid attempt to read when reader is closed!"

Do u have any idea abt it? :p
[/b]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top