The syntax is
<%# Eval("...") %>
You could do something like
<asp:ImageButton Visible="<%# ShowImg(Eval(Container.DataItem,"Message")) %>" />
and in your codebehind:
boolean ShowImg(string msg)
{
return (msg == HttpContext.Current.Profile.UserName);
}