0
Eval() is used to bind to an UI item that is setup to be read-only (eg: a label or a read-only text box). However, you are using as inline coding so you are getting exception.
What is the need of Eval() to check condition. Create a function and pass value to the function so that you won't use Eval() as inline coding.