By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,996 Members | 1,179 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,996 IT Pros & Developers. It's quick & easy.

Printing a large datagrid (hopefully a simple problem)

P: n/a
I have a datagrid that prints a large number of records from a SQL
database. Because it is a large table, when printed the table
"bleeds" from one page to the next. Ideally, I would like to have 8
records to a page, then have the printer page break. Crystal Reports
is not an option.

What would be the best way to do this? I've experimented with paging
within the datagrid control, but in splitting the records over pages,
each page is considered separate to the browser.

I've also looked at page break CSS commands. Even if I broke the
datagrid into multiple tables, like:

Table part 1 of Datagrid

-Page break-

Table part 2 of Datagrid, etc.

that would be acceptable. I wouldn't mind seeing physical breaks on
the screen, if it meant the pages were being printed correctly.

Any ideas?
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.