Printing a datagrid?

aikeith

Well-known member
Joined
Jan 23, 2003
Messages
49
Hello,

Well, being from a web background, I was a bit perplexed at the amount of work necessary to print. I just want to make sure I understand this correctly.

1.) In order to print the contents of a datagrid, you have to go through and get the value of each row in the datset and output it to the screen?

like 500 bejillion lines of code ?
http://www.c-sharpcorner.com/Graphics/DataGridPrinterMG.asp

Im really surprised there is not some class in the framework to automate this -some static functions like printdoc.PrintDS(myDS, true);

Anyway, I just wanted to make sure Im not doing more work than necessary. It just appears like you have to do A LOT OF WORK to print a document.

Im lazy so let me know.

thanks,
 
the article ref doesnt look too bad, but the whole conception seems misguided.
You want printed copy of the data in a view or table? You also have unlimited funds
to refill color ink for your printer? Fine, but use XSLT and transform the data to whatever your needs dictate (XSL-FO for high grade report quality)
 
Back
Top