Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: Printing from a database


Message #1 by Kyle@T... on Mon, 28 Jan 2002 14:33:49
In a PrintPage event I am opening a data reader and reading the records 

in a while loop.  When I reach the MarginBounds I am setting 

e.HasMorePages to true followed by a return statement.  When the next 

page attempts to print and the PrintPage event executes again it runs all 

of the code within the PrintPage method creating an error condition and 

does not just continue at the same place in the while loop.  How is the 

process of printing a large number of records from a database usually 

handled?

  Return to Index