Why don't you use the available transformation methods? With the displaying expression you can get the mentioned error and in general, it should be enough to use <%#Eval("FieldName")%>
I would recommend following the documentation and best practices to avoid issues in the future. Please see the documentation links from my previous post.