Hi there,
I have a problem regarding selecting datatype in ReportParameter in C#
I ve create Reportparameter but I want the value to be integer not String. This are my coding
ReportParameter[] p = new ReportParameter[20];
p[0] = new ReportParameter("NewMale", newpm, true);
p[1] = new ReportParameter("NewFemale", newpf, true);
Note: if newpm.ToString(); it works fine but I want the input to be integer not String inorder to pass value to Report
For ReportParameter in the Report,DataType is set to Integer so i think all i need is how to create new ReportParameter in interger from the form
(since i need to added value up across various places)
many thanks
sun
I have a problem regarding selecting datatype in ReportParameter in C#
I ve create Reportparameter but I want the value to be integer not String. This are my coding
ReportParameter[] p = new ReportParameter[20];
p[0] = new ReportParameter("NewMale", newpm, true);
p[1] = new ReportParameter("NewFemale", newpf, true);
Note: if newpm.ToString(); it works fine but I want the input to be integer not String inorder to pass value to Report
For ReportParameter in the Report,DataType is set to Integer so i think all i need is how to create new ReportParameter in interger from the form
(since i need to added value up across various places)
many thanks
sun