This answer doesn't really answer the question. While it is helpful to know how the unary operator would work, it doesn't address an actual "if" condition. I'm looking for something like:
<%# if (Eval("FormatAs").ToInt32() == 1) { %>
Show this headline
<%# } else { %>
Tell the user they're in the wrong place
<%# } %>
This code doesn't work, and I had hoped that this Q&A answer would help me learn why.