Prachi_5 0 Newbie Poster

I want to print database value on multiple pages using C# using HasMorePages property. I have worked on the same, but the loop goes infinetly (without stop) and the same data is repeatating on each page, how to solve it?