title: How to set datasource in report viewer at runtime in devexpress winform application?
body: <p>I am trying to display report in Devexpress winform. Below is what I have tried so far.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>string test = @"C:\Users\bajay\Desktop\First.repx";
  
  if (File.Exists(test))
       MessageBox.Show("Test");
       
  XtraReport report = new XtraReport();
  report.LoadLayout(test);
  var tool = new ReportPrintTool(report);
      tool.ShowPreview();</code></pre>
  </div>
  </div>
  </p>