how do i create a parameter field by writing code
Posted: Mon Mar 02, 2009 7:07 am
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
Thanks Jan for your early reply. But i need sample code for creating parameter using C#.Jan wrote:Hello,
You need create paramer in report or you need fill parameter in code?
Thank you.
Code: Select all
report.Dictionary.Datasource["MyDataSource"].Parameters.AddRange(
new Stimulsoft.Report.Dictionary.StiDataParameter[] {
new Stimulsoft.Report.Dictionary.StiDataParameter("@DateBeginning", 7, 10),
new Stimulsoft.Report.Dictionary.StiDataParameter("@DateEnding", 7, 10)});