Skip to content

DevExpress-Examples/reporting-winforms-sql-data-source-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for WinForms - How to Create a Report Bound to the SQL Data Source

This example demonstrates how to create a master-detail report in code and use the SqlDataSource component to bind a report to the Microsoft SQL Server database.

The project implements the IConnectionProviderService descendant that connects the data source to the local MS SQL Server if the connection name is “MyRuntimeConnection”, and creates a connection to the Microsoft SQL Server database file for any other connection name.

The service is registered for the ReportDesignTool that invokes the Report Designer.

Sample Master-Detail Report Created in Code

Files to Look At

Documentation

More Examples