Click to See Complete Forum and Search --> : Printing in C#


gajesh
October 19th, 2007, 04:59 AM
Hello,
I have never used the printing functionality in C#. I am having a data grid which is having 3 colums. I want to print one column out of three and some more custom data with this column. I want to print the data in tabular form with some header lines like "Name", "Date" etc.

How do i print in C#.

Thank a lot in advance.

saktya
October 19th, 2007, 05:18 AM
If you want print a document you can use crystal report.

gajesh
October 19th, 2007, 05:42 AM
I am not aware of crystal reports. If u can throw some light on it then it ll be better for me.
Basically my requirement is that If i have 3 array list of data, how can i print it with some header on columnn??

Thanks

saktya
October 21st, 2007, 08:31 PM
In crystal report you can directly bind the dataset and create the report from data in that dataset.

You can check this out, hope this can help:
http://www.codeproject.com/cs/database/CrystalReportViewer.asp

battula32
October 22nd, 2007, 12:23 AM
Google it, You can find lot of samples in Datagrid printing

http://www.codeproject.com/cs/miscctrl/DataGridPrinter.asp


Regards
Ravi.Battula