3
Answers

Windows form Printing

Rashid Khan

Rashid Khan

14y
7.3k
1
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
Answers (3)
0
Rashid Khan

Rashid Khan

NA 104 0 14y
Well haven't get any reply for this.
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

0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 14y
If the query got resolved, then mark the post that helped you as Answer so will be helpful for others. Otherwise if you got the solution please share with us.
0
Krishna Garad

Krishna Garad

NA 16.5k 6.2m 14y