2 issues I see:
Using this example, you'll want to make sure when you process the Eval("Name")
value, it's done as a string since that's what you're concatenating with.
<%# String.IsNullOrEmpty(Eval<string>("Name")) ? "" : "<span class=\"Name\">" + Eval("Name") + "</span>" %>
It should look like this:
<%# String.IsNullOrEmpty(Eval<string>("Name")) ? "" : "<span class=\"Name\">" + Eval<string>("Name") + "</span>" %>
The second issue is you're missing a closing parenthesis after the </span>
tag.
Last item is you could simplify this a bit with an out of the box transformation method. It could look like this:
<%# IfEmpty(Eval("Name"), "", "<span class='Name'>" + Eval<string>("Name") + "</span>") %>