我在后置文件(比如:zxz.asp.cs)里写了一个函数
public string toshow(string theusername)
{
Server.HtmlEncode(theusername);
return theusername;
}
我在文件(zxz.aspx)Repeater里是这样调用的
<%toshow(#DataBinder.Eval(Container.DataItem, "username"))%>
出错了,请问怎么在Repeater里调用在后置文件里自定义的函数?