print data from database

  • Thread starter Thread starter Marcel Seiler
  • Start date Start date
M

Marcel Seiler

Hi NG

I would like to print my productlist, stored in a access-database. therefore
I fill a dataset with the data and with a loop I place the datarecords on
the printdocument. On each page I want print 25 records.

My question now: how can I realize this? The first page is no problem. But
how can I print more then one page, and can I control this?

thanks,
Marcel
 
Marcel,

In your PrintPage event, you can set the HasMorePages property to true
to indicate that you have another page to print on the PrintPageEventArgs
instance that is passed to your event handler.

Hope this helps.
 
Back
Top