Avatar of ybt
ybt

asked on 

ActiveReports with paramerters in C#

I placed SQL code in a datasource  field of my report and
put the following code in ReportStart event

Parameter myParam1 = new Parameter();
myParam1.Key = user_id;
myParam1.Type = Parameter.DataType.String;
myParam1.PromptUser = false;
this.Parameters.Add(myParam1);

But datasource does not receive parameter at all.
Could anybody tell what should I do?
.NET ProgrammingC#

Avatar of undefined
Last Comment
ybt

8/22/2022 - Mon