This example demonstrates how you can use the System.Windows.Forms.BindingSource component to bind a report at design time, and provide actual data at runtime.
In this example, the application contains a class (named Data), which is specified as the BindingSource component's DataSource type. Then, in the Form_Load event, the data source is populated, and assigned to the report's DataSource property.
Question Comments
Added By: Tobias Krasinger at: 3/21/2014 12:44:27 AM
Is this only working in Windows Forms, or is it also supposed to run in WPF? Because when I try this using WPF the only result I get it "the Report does not contain any pages" ... !?
Added By: ali m 2 at: 4/1/2015 1:21:39 AMBinding Source =non
how can i get it