title: How to add rdlc file to ReportViewer in WPF projects
body: <p>I've added a <code>ReportViewer</code> in a <code>WPF</code> app via the <code>XAML</code> designer of my main window and I'd like to add an existing rdlc file to it.</p>
  
  <p>I'd like my reportviewer to show an empty rdlc file (without the parameters) on startup, and later upon selecting a row from my datagrid (bound to an observablecollection) change its parameters accordingly and show the filled report definition instead of the empty one. </p>
  
  <p>I'll make a button with the selected row as commandparameter and the relevant events and everything, I just need to be able to pass data to the report. I realize it is not an easy question so I'll try to simplify:</p>
  
  <ol>
  <li>How to add an existing rdlc file to a ReportViewer (MVVM, WPF) ?</li>
  <li>I push a button -> relevant command gets the item from my observablecollection as parameter (a row in my datagrid) -> How to pass the data parts of this item to the unfilled (or overwrite if filled of course) parts of the report?</li>
  </ol>
  
  <p>I hope I've been clear. Thanks for the answer in advance!</p>