1
Answer

error - operator == cannot be applied to operands of type object and b

Ramco Ramco

Ramco Ramco

Aug 16
345
1

Hi

  I am getting error - operator == cannot be applied to operands of type object and boolean.

Status is of type bit .

String Status = row["status"] == true ? "Active" : "Blocked";

Thanks

Answers (1)
Next Recommended Forum