Creating CSV from DataTable with Headers
We are currently evaluating your product, and need to be able to produce a CSV file with columns of data that starts with Column Headers. All of this needs to be in code, not in the designer.
Our setup is as follows:
DataTable with columns and rows (both of while fluctuate depending on user settings)
Report.RegisterData(DataTable)
Enable DataSource
Add a ReportPage
Create DataBand, where the DataSource is Report.GetDataSource([DataTable name])
ReportPage.Bands.Add(DataBand);
Add TextObjects for each column.
We get all the data, but no headers. And I've tried several ways to add headers that haven't been successful.
Our setup is as follows:
DataTable with columns and rows (both of while fluctuate depending on user settings)
Report.RegisterData(DataTable)
Enable DataSource
Add a ReportPage
Create DataBand, where the DataSource is Report.GetDataSource([DataTable name])
ReportPage.Bands.Add(DataBand);
Add TextObjects for each column.
We get all the data, but no headers. And I've tried several ways to add headers that haven't been successful.
Comments
The only thing that we need is the headers to print. And the data is coming from an DataTable, and it's not printing any headers right now. Is there a way to turn on the headers from the column names?
__________________
WoW Gold| D3 Gold| RS Gold| Swtor Credits