PDA

View Full Version : How to Generate .pdf file from a DataGrid


subba
07-25-2006, 09:12 PM
Hi,

I have a datagrid and I want to
1) export it to a an excel file and print it
2) generate .pdf file

I have no idea where to start and what to look at.Can somebody kindly help me in starting the aboce actions.

Thanks,
Subba

subba
07-25-2006, 09:13 PM
Hi acolyte

I have a datagrid and I want to
1) export it to a an excel file and print it
2) generate .pdf file

I have no idea where to start and what to look at.Can you kindly help me in starting the above actions.

Thanks,
Subba

acolyte
07-25-2006, 09:25 PM
Hello ,

you can build a xmlfile from your datagrid and send that to PHP
PHP save it on the Server and process a pdf out of it:

http://www.sitepoint.com/article/generate-pdfs-php

you can use the Forums search for >saving Xml< there are plenty of Threads covering this Issue

I dont think that you`ll need a excelfile you could also print the generated Pdf after processing.

I dont know if it is my typewriting magic but i am finding everything
with the use of the google mask i just typed > Php generate PDF and woops
there are plenty of thread covering just this Theme.

And if there is something i realy dont know and where i realy find no answer using Google
you can Post in here , thats what the Board is meant for

just a Hint to you for the next time to help your self

Flash Gordon
07-25-2006, 09:42 PM
you need an SSL. PHP has a library that supports making pdf. I don't know about excel sheets.

brunushky
08-02-2006, 07:55 AM
Try this, may be this can work for you...

http://www.bgxcomponents.com/flashPrintDatagrid.htm