C# Invalid attempt to call Read when reader is closed
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 joining two tables together and display in a drop down list. Here is my data access layer: public List<Distribution> getDistributionAll() { List<Distribution> distributionAll = new List<Distribution>(); string address; SqlDataReader dr = FoodBankDB.executeReader("SELECT b.addressLineOne FROM dbo.Beneficiaries b INNER JOIN dbo.Distributions d ON d.beneficiary = b.id"); while (dr.Read()) { address = dr["addressLineOne"]