I build a window application.in this, i register a student , after successful registration, i want to print the registration details. i put these details on a form with label but i don't know how to print these labels on the paper.please help me .
How to print forms content like labels in c# window application
Hi...
divyaPosted Nov 21, 2012, 2:38 AM
you can do this in 2 ways.The first way you have to use Printform control (just drag and drop from tool box) and write this code in print button.
private void btnPrint_Click(object sender, EventArgs e) {
printForm1.Print();
}
Other way we can use crystal reports.Please follow the below links..
http://www.csharpcorner.com/UploadFile/mahesh/CrystalReportsIntroduction11082005014
959AM/CrystalReportsIntroduction.aspx
http://developer-content.emc.com/developer/downloads/CrystalReport_ADO_Dataset.pdf
http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-stepbystep.htm