Hello,
in my project I have a function to export data to an excel file.
I have a filestream object to do this.
In the same project I have created a report with a table in it.
And now I want to set the datasource so that the same data will be shown in the report.
But how can I get this data ?
Best regards
Simon
public void ExcelExport(string fileName)
{
FileStream fs = new FileStream(fileName, FileMode.Create, FileAccess.Write);
gridEXExporter1.Export(fs);
fs.Close();
}