Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
Hello I have just a question, of opinion of anyone just what you think is the best way to print data from textbox or richtextbox or listview or anything from the form.
 
I was looking over the internet something for easy printing of record or records
 
so basically, I have datagridview, when I select row I have textboxes populated with data accordingly to selected row, I need to print those data from textboxes sort of speak, what is the easiest way to do this.
 
I am confused of how to do this easy, so I just need opinion, nothing else, no code issue although I might have something later when I get some answers Smile | :) )))))
 

thank you
Posted 12-Nov-12 9:55am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

By using System.Drawing.Printing.PrintDocument, http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx[^]; the code sample can be found at the end of this article.
 
—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 392
1 OriginalGriff 370
2 CPallini 190
3 Abdul Samad KP 145
4 George Jonsson 119
0 OriginalGriff 6,329
1 Sergey Alexandrovich Kryukov 5,700
2 CPallini 4,940
3 George Jonsson 3,469
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100