reporting services - Creating SSRS report using C# code behind -
i creating ssrs report using code behind c# not tool. want add rd:userdefined true tag query parameter using c# code behind. how can add tag code dataset giving xml error.
my code add queryparameter :
xmlelement queryparameters; xmlelement queryparameter; queryparameters = addelement(query, "queryparameters", null); queryparameter = addelement(queryparameters, "queryparameter", null); addattribute(queryparameter, doc, "name", "@reportid"); addelement(queryparameter, "value", _objdynamicprocedureparameters.reportid); addelement(queryparameter, "rd:userdefined", "true");
i want add queryparameter should shown on reportviewer filter.
i have resolved this.
added reportparameters tag add report parameters :
reportparameter = addelement(reportparameters, "reportparameter", null); addattribute(reportparameter, doc, "name", "rolename"); addelement(reportparameter, "datatype", "string");
Comments
Post a Comment