J
Jeff
hey
asp.net 2.0 (C'#)
In the code behind file I have this method:
public String AddBR(Object param) {
String text = (String) param;
return text;
}
(( I know this method does nothing, but when I've fixed the compile error
then I will add more code to this method ))
Here I'm using this AddBR method to set the text property of a TextBox:
Text='<%# AddBR(eval(question)) %>'
ERROR:
When I build my website I get this error:
"The name 'eval' does not exist in the current context"
What am I doing wrong here?
Jeff
asp.net 2.0 (C'#)
In the code behind file I have this method:
public String AddBR(Object param) {
String text = (String) param;
return text;
}
(( I know this method does nothing, but when I've fixed the compile error
then I will add more code to this method ))
Here I'm using this AddBR method to set the text property of a TextBox:
Text='<%# AddBR(eval(question)) %>'
ERROR:
When I build my website I get this error:
"The name 'eval' does not exist in the current context"
What am I doing wrong here?
Jeff