Joaquim,
I see you are use 2.0. You should be able to make an XML representation of your datatable when you create it in code. Do this once, export it to a file, and use that file to build your Crystal Report.
>Hello all,
>
>I have a method that creates a DataTable, and now i want to create a CrystalReports report that prints the DataTable Data.
>
>The problem is that all the samples i found points to using a DataSet, with bound fields, that must be visible before creating the report, in order to CrystalReports can find them, and so i can put them in the report.
>I don't have none of this, my DataTable is created at RunTime just before i print the report and then i discard it.
>I need to pass the DataTable as a parameter to the ReportViewer (or to a form holding the reportviewer) and then define this DataTable as the report datasource.
>
>For me it's very simple, but it seems that CrystalReports don't do this, or does?
>Does anyone created something like this?
>
>TIA,
>Joaquim