Click here to Skip to main content
12,073,837 members (71,461 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# 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 10: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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160208.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2016
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