Hi there,
My app calls for printing the UG plus the data (parameters) that createt it.
How can I add the data in the report? I mean, "labels" textboxes"...or something like that!
Or the only way is to use Crystal Reports then exporting the UG to it?
If so, how can I export the UG to CR?
Thanks in advance!
I'm not familiar with Crystal Reports, so I can't really say if it is or isn't possible to export the grid to it, but I'm fairly certain that this is not a supported scenario. You can print the grid directly, though, through the UltraGridPrintDocument. You also have the options of exporting it to Excel using the UltraGridExcelExporter, or into a PDF using the UltraGridDocumentExporter and the Documents engine. I think that the NetAdvantage SDK/Samples include demonstrations of how to do this, but if all you want to do is use the exporters, there is an Export method on each.
-Matt
Matt,
Thanks for the answer. I've gone through the SDK examples and this forum a lot of time before making this post.
Honestly I do not want to use Crystal, but I need to print in the same report both the parameter's data plus the grid's data.
I did not found so far any example of how can I "export" other data into a report but the grid's
Any ideas? Can the Report engine be used for what I want?
If so, can you give a little example?
Thanks!