<p>Ok</p>

<p>I'm working on a little project at the moment, the Report expects an int but the ReportParameter class only lets me have a value that's a string or a string[]</p>

<p>How can I pass an int?</p>

<p>thanks</p>

<p>dan</p>

You can call the method
```
GetReportParameters()
```
which will return a
```
ReportParameter[]
```
array. If you iterate through each parameter and look at its Type property it will indicate if it is an
```
int
```
. The Type property is an
```
enum
```
of type
```
ParameterTypeEnum
```
and would be
```
ParameterTypeEnum.Integer
```
for an
```
int
```
.