RdlcRptGen Class - Version 1.5 The RdlcRptGen Class, is a Class written in C# which accepts a DataTable parameter and then generates the necessary rdlc.xml file and displays a report, based on the DataTable, in the ReportViewer Control,. The RdlcRptGen Class can use as little as one line of code, or optionally additional properties can be set to control other elements of the report.