inserting page break while printing datagrid
Posted on 2004-04-06
i am trying to print out a datagrid. the datagrid is listing out card orders ordered by value. i need each card value to be on a different page. ie page 1 will list out 25 $49 cards, page 2 will list out 50 $29 card, etc....
my initial approach was to use the word com object to build a new word doc and the redirect the user to the doc. however, once i came across System.Drawing.Printing i figured there should be a way to do it right from the web page.