Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 544.1k

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)