public static void RetrievePromos() { IDataReader reader = DBCommands.RetrievePromos(); while (reader.Read()) { int id = Int32.Parse(reader[0].ToString()); int year = Int32.Parse(reader[1].ToString()); string specialty = reader[2].ToString(); CreatePromo(id, year, specialty); } }