The function xxx() is expecting a string, but DataBinder.Eval() returns an object. So you must cast the result of DataBinder.Eval() to a string (or, in this case, just use .ToString()).
i.e, in your template do:
<%#xxx(DataBinder.Eval(Container.DataItem, 'field_name').ToString()) %>
VB.NET
<%#xxx(DataBinder.Eval (CStr(DataBinder.Eval(Container.DataItem, 'field_name')) )%>
C#
<%# xxx((string) DataBinder.Eval(Container.DataItem, 'field_name'))%>
Either of these should work.
Share with