How to use a PrintView for gridview before the print with C#
I want to create a printPreview for gridview before the print, but I don't have any idea , in Visual Studio 2013 (C#), I used this instruction:
namegridView.ShowRibbonPrintPreview();
But this result was in english and I need to display in French.
After searching , I found this Instruction :
InputLanguage.CurrentInputLanguage;
but , I can't use this in my problem ,
I don't know if this function is useful or no ..
Answers (2)
0
thank you for your answer :)
but ,I forgot to tell you :
I used DevExpress(GridControl) , and this control :PrintDocument1 and PrintPreviewDialog1((System.Drawing.Printing) don't exist with DevExpress and i can't merging DevExpress and System.Drawing.Printing together
0
Here is one from a while ago