I have Binder function like this
<asp:label id="lbl" text="<%#DataBinder.Eval(Container.DataItem, " runat="server" xmlns:asp="#unknown">;
I have one method in code behind like this
public string GetName(string id)
if(id == "1")
return "Something else";
Depending on the id in Eval method I want to bind the corresponding string values from the method GetName().
How can I call the method GetName(), which accepts "Id" as parameter, inside the Label ?