"Operator > is not defined for types “System.Data.DataTable and Integer” error in IF condition

Hi All,

Iam facing an issue while trying to use ‘IF’ activity with the condition like Age>32 and salary>30000 …where Age and Salary are DataTable variables . iam getting error like below

"Operator > is not defined for types “System.Data.DataTable and Integer”

1 Like

@ganga You cant compare datatable variable with integer, Change variable type or convert variable type to integer

1 Like