Hi,
I am working on a billing system. Everything was fine until I got a problem while printing the bills.
I have to do something like this:

Code:
for(int i=0; i<noOfHouse; i++)
{
      -> read bill template (excel file that contains text and images)
      -> change the bill amounts for ith house reading from DB
      -> and then print the bill
}
Currently I am doing it like:
reading excel bill-template file and copying it cell-by-cell into another excel file except the cells that need to be changed.

Once the bill files are generated from the above for-loop, I've planned that the operator would select all the files and print them manually.


Can anyone give a better idea ??