Ramco Ramco

Ramco Ramco

  • 424
  • 3.4k
  • 490.9k

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

Aug 16 2024 8:25 AM

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)