Applying a simple integration by parts formula for the Henstock-Kurzweil integral, we obtain a simple proof of the Riesz representation theorem for the space of Henstock-Kurzweil integrable functions. Consequently, we give sufficient conditions for the existence and equality of two iterated Henstock-Kurzweil integrals.