I would like to ask, when java generates Excel, the data is obtained from the database. Assuming that 100 pieces of data are obtained, how to control, so that Excel prints only 40 pieces per page and prints three pages? ?
It is to find 100 records from the database and write them to the excel file. Now it has been written. There are already 100 records in excel. Now the excel file is printed out on paper. How to make each paper only have a maximum of 40 records Record, can it be achieved with java!
Shouldn't it be clear this time? My expressiveness may be poor, mainly because I don't understand it! !! !!