ReportDataSource Constructor (String, Object)
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
The name of the data source.
A value for the data source.
If this value is an instance of IEnumerable, all elements in the collection must be of the same type, and names of the public properties of the element (as retrieved by the GetProperties method) must match the field names of the corresponding report data source.
Value may also be an instance of Type. In this case, an instance of the supplied type is automatically created and added to an automatically created collection.
If the type of Value is not any of the aforementioned types, it is added to an automatically created collection.