Where does this code usually fit? ReportDesignerController's constructor? But it doesn't work.

1 Answer 14 Views
.NET Core
YaFei
Top achievements
Rank 1
YaFei asked on 23 May 2024, 07:36 AM
Where is the code usually kept´╝č

1 Answer, 1 is accepted

Sort by
0
Momchil
Telerik team
answered on 28 May 2024, 07:02 AM

Hello YaFei,

This code snippet configures an SQL data source instance. Such code is usually found in programmatic report definitions created with the Visual Studio Report Designer and, often, in custom ReportSource resolvers that modify reports at runtime.

If you use declarative TRDP/TRDX/TRBP report definitions with the Standalone or Web Report Designer and do not wish to modify the reports dynamically, you do not need to use this code.

The snippet is meant to illustrate the relevant properties of the SqlDataSource Component as well as its programmatic API.

Best Regards,
Momchil
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
.NET Core
Asked by
YaFei
Top achievements
Rank 1
Answers by
Momchil
Telerik team
Share this question
or