Hello every1
I m developing a windows(desktop) project.using asp.net, c# and in that project i have few forms and reports(also form layout).
those having datagridview and textboxes.
some forms having both datagirdview and textboxes and some reports having only gridview . now i want to print them.
values which they contain is result of runtime calculation and database record.
please suggest me how to print
6 forms 9 reports
Thanks
Windows form Printing
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Krishna GaradRank #191 · 12.8K reputationPosted Mar 3, 2011, 9:19 PM EST
http://www.c-sharpcorner.com/UploadFile/srajlaxmi/PrintingWindowsForm01182008021239AM/PrintingWindowsForm.aspx
http://www.c-sharpcorner.com/UploadFile/mgold/PrintinginCSharp11302005061400AM/PrintinginCSharp.aspx
Suthish NairRank #92 · 22.8K reputationPosted Mar 7, 2011, 9:18 AM EST
Rashid Khan152 reputationPosted Mar 7, 2011, 6:16 PM EST
but i got a code from other source
here is the link
http://www.codeproject.com/script/Articles/ArticleVersion.aspx?aid=18042&av=213874
add this class in your existing project create object of this class and use its properties.
it works fine but need to change as per your requirement . like spacing, alignment etc
i got my solution may be it works for other too
Have a nice day
Bye