printing in C#.Net

i have a C# windows application in Visual Studio. I have a form which is opened in a panel. i want to print the data in various controls of the form upon clicking a PRINT button. but i don't want to print the jpg image of the entire form or any of its controls. i want that the text in the controls should be printed.for e.g. i have a label NAME:- and a textbox txtName in front of the label and suppose the user enters the name john in the textbox . i want that they should be printed as follows:
NAME:- john
the enitre label and text box should not be printed but only the text in them should be there any way to do there any alternative way like adding the data in textbox and label to an MS Word document and then printing the document...plz. help...thanx in advance.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion