Hi in here what i am doing wrong
i am getting the error Operator '=' is not defined for type 'DBNull' and type 'Integer'.
strOrignalCopy = IIf(IsDBNull(TempDS.Tables(0).Rows(i).Item(
"Original_Copy")), "", IIf(TempDS.Tables(0).Rows(i).Item("Original_Copy") = 1, "orignial", "copy"))
...
Go to the complete details ...