Answer the question
In order to leave comments, you need to log in
How to print data from Datagrid?
How to print data from Datagrid?
I wrote like this, but it only prints the element itself in its current state on the form.
PrintDialog printdlg = new PrintDialog();
if (printdlg.ShowDialog().GetValueOrDefault())
{
printdlg.PrintVisual(dataGrid, "Печать отчёта по тканям на кладе");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question