Hello,
I just started using Telerik Reporting. I created a class and used it to display a table as a report. Data are obtained from a csv file.
I just started using Telerik Reporting. I created a class and used it to display a table as a report. Data are obtained from a csv file.
public Form1() |
{ |
InitializeComponent(); |
//reportViewer1.RefreshReport(); |
String loc = "C:\\test1.csv"; |
DataTable k = parseCSV(loc); // return a DataTable |
this.DataSource = k |
} |
I have a form using the class to show the report.
1. There is no DataSource for either 'this' or 'reportViewer1'.
2. How can I use DataTable as a source to display.
I believe that I messed up somewhere. Can anyone show me a sample code which tells me how to use DataTable, instead of connecting to a database.
Thanks,
Nick