Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active April 16, 2018 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/05436f28c011bc914b9651306ebe9a61 to your computer and use it in GitHub Desktop.
Save bjoerntx/05436f28c011bc914b9651306ebe9a61 to your computer and use it in GitHub Desktop.
Report report = new Report() { Name = "Test Report 2018" };
report.Sales.Add(new Sale()
{
Customer = new Customer()
{
Name = "Customer 1",
City = "Charlotte",
Id = 1,
Street = "6672 Test Street",
Zip = 27781
},
Product = new Product()
{
Name = "My Product 1",
Price = 7782.12m
}
});
DataSourceManager dsManager = ribbonReportingTab1.DataSourceManager;
dsManager.LoadSingleObject(report);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment