Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
330
How To Bind A Report to A Datatable at Runtime
posted

Hi Guys,

I read you help topic https://help.infragistics.com/doc/reporting/2013.2/CLR4.0 but I has absolutely no help in it!

1. I need to know how I bind a datatable at runtime to the reports datasource? I firstly want to specify which reprt to laod, and then massage the data that needs to go to that report.

Infragistics.Win.UltraWinReportViewer.ClientRenderSettings clientRenderSettings1 = new Infragistics.Win.UltraWinReportViewer.ClientRenderSettings();

clientRenderSettings1.DefinitionUri = new System.Uri("/SpyOps;component/Reports/TechTaskForAC.igr", System.UriKind.Relative);

this.ultraReportViewer1.RenderSettings = clientRenderSettings1;

//What happens next?

Maybe I should explain myself better:

What I am trying to do is Load a report into the ultrareportViewer1 dynamically, and then set the datasours eto a table that is a query from SQL.

Regds