Skip to content

RdlViewer Rebuild method removes the DataSet #162

@BalintPogatsa

Description

@BalintPogatsa

If I use the RdlViewer as mentioned in the wiki page, xlsx export creates an empty file.

The workaround to the issue is to set the DataSet again after calling the Rebuild method:

// This table needs to match the one you are setting
rdlView.Report.DataSets["DataSetNameInYourReport"].SetData(YourDataTable);  

rdlView.Rebuild();
// Workaround
rdlView.Report.DataSets["DataSetNameInYourReport"].SetData(YourDataTable);  

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions