Date Field is Empty

Date Field is Empty

This might seem like a silly question. So Latha hope you can help me.

I am trying to do an employee database.

I am fetching records from another table where the Name == input.Name

One of the fields is a date field called "confirmation_date". The date field is empty because the staff is not confirmed.

What happens is that the form just keep trying to load. What i want to do is write something like this:

if (staffRecord.Confirmation_Date == "")

{

do something
}

else

{

input.Confirmation_Date = staffRecord.Confrmation_Date

}

But it says the I can't have this expression
staffRecord.Confirmation_Date == ""

What's the way to do it?