I'm using a repeater control and I'm trying to pass a parameter as such:
<%# SomeFunction( DataBinder.Eval(Container.DataItem, "Id") ) %>
It's basically calling:
public string SomeFunction(long id) {
return "Hello";
}
I'm not able to achieve this as I get an error:
error CS1502: The best overloaded method match ... SomeFunction(long id) ... has some invalid arguments.
Any ideas?