title: How do I export a DataGridView to ReportViewer?
body: <p>I am working on a C# project within which I am generating reports from database and displaying then in a DataGridView because it is simpler to add rows and columns dynamically. But I now need to export a DataGridView content into a ReportViewer on the fly for printing purpose. I don't want to show up the ReportViewer. I just want to create its instance and populate from my DatagridView and then display the Print Dialog instantly in order to get a hight quality and well organized layout in the output. Currently I'm printing reports by converting them to HTML and then assign it to a WebBrowser control and call ShowPrintDialog() method. But in this way I'm unable to control some printing issues such as printing column headers in all pages as WebBrowser outputs the table sequentially.</p>
  
  <p>I need to reach this goal in the shortest time as this is a production project.</p>
  
  <p>Any idea is hightly appreciated.</p>