vendredi 28 juillet 2017

Razor - If condition not working

I'm having this condition :

if ((Convert.ToBoolean(draft) != true) && (date ­> DateTime.Now))

VS keep telling me && cannot be applied to type bool and DateTime.

What's the problem ?

Aucun commentaire:

Enregistrer un commentaire