sir, i have a page with datagridview or other information, now i want to print whole page with datagridview or other information which is show in label. i know only how to print datagridview value but i dont know how to print both value so help me ......
thanks in advance ........................
i m sending capture image also ....

Bhuvanesh MohankumarRank #310 · 8.1K reputationPosted May 5, 2016, 11:35 PM EDT
Hi Jitendra,
Is that printing the screen shot of the application or
Image img = sc.CaptureScreen();
this.imageDisplay.Image = img;
sc.CaptureWindowToFile(this.Handle,"C:\\temp2.gif",ImageFormat.Gif);
Jitendra SharmaRank #3,268 · 439 reputationPosted May 5, 2016, 11:39 PM EDT
Bhuvanesh MohankumarRank #310 · 8.1K reputationPosted May 5, 2016, 11:46 PM EDT
Hi Jitendra,
Then I would suggestedto implement this logic, sure you will have all the page content, in the application object or Control state.
Jitendra SharmaRank #3,268 · 439 reputationPosted May 6, 2016, 12:20 AM EDT