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


#1

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”


How to ask a good question?
#2

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