title: C# Telerik reporting no datasource at designtime dataschema
body: <p>I use vs 2010 and telerik reporting 2013 Q1</p>
  
  <p>use the next code to bind a datatable to report.</p>
  
  <pre><code>Reports.Report1 report = new Reports.Report1();
  
  Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource();
  objectDataSource.DataSource = CreateData().Tables[0];
  report.DataSource = objectDataSource;          
  
  Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource();
  reportSource.ReportDocument = report;
  TelRptViewer.ReportSource = reportSource;
  </code></pre>
  
  <p>My report contains a simple table dataitem with 3 columns.
  I have already read this topic in help.
  <a href="http://www.telerik.com/help/reporting/connecting-to-data-working-with-data-at-design-time.html" rel="nofollow">Working With Data at Design Time-Data source available only at runtime</a></p>
  
  <p>"This approach is useful when you cannot get the report's data source at design time or want to avoid loading real data into Visual Studio at design time. In this case you would have to mock your data just to enable the Report Designer to show any data schema. This will enable you to adjust the layout of the report and bind report items to the available data fields, while the real data will be loaded only at runtime either in NeedDataSource event or in the actual application. "</p>
  
  <p>In simple reportviewer there was an xsd which prove the data schema for report.
  In this viewer how its is possible to make this data schema or similar? Or there is another way to do this?</p>
  
  <p>Thx. </p>