Printing in C#

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.
[349 byte] By [gajesh] at [2007-11-20 11:31:37]
# 1 Re: Printing in C#
If you want print a document you can use crystal report.
saktya at 2007-11-9 11:36:52 >
# 2 Re: Printing in C#
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
gajesh at 2007-11-9 11:37:52 >
# 3 Re: Printing in C#
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
saktya at 2007-11-9 11:38:51 >
# 4 Re: Printing in C#
Google it, You can find lot of samples in Datagrid printing

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

Regards
Ravi.Battula
battula32 at 2007-11-9 11:39:56 >