This is caused if you are attempting to use the same DataReader more than once in your code without closing the previous Datareader.
Or you might have a DataReader open on the same connection as the DataAdapter/Command uses. So it is not recommended to share a
connection between a DataReader and a DataAdapter/Command
- Either close the first connection or,
- if you must keep it open as you are executing another reader from within it, use another connection object.
Share with