I am having Invalid attempt to call Read when reader is closed error when I am doing 3 tier project in C# language.
What I am trying to do is retrieve address data column by
Previous one is a good example ... But you can also accomplish it by below code which is automatically close a connection instance when datareader.close() method called ...