Building a report from a datatable at run time
Hello,
I am producing a student marks program for personal use. Right now the program loads data from various tables in to the controls and navigates with Next and Previous type buttons. The datatable is filled at runtime. It does not exist at design time. I am using Oledb and Access 2002.
I would like to use Crystal Reports to print reports from my datatable. For example, I want to print an attendance sheet or a list of all student marks. How do I do it in code so that the report can be generated at run time?
Thank you
Re: Building a report from a datatable at run time
Can anyone help me with this? The msdn help is very specific and seems like what I want. It suggested the declaration:
public CrystalReport1 oRpt = new CrystalReport1()
(which I assume is C#).
I do not have access to the CrystalReport1 object. I have tried adding/importing all the crystal reports references but can't find it. I'm using VB and ADO.Net
Thanks.