vb.net - Code behind does not run from HTML with <% tags -


i have following html:

<td align="center">         <%#createdynamichtml()%> 

the <%# %> tags, whatever they're called, meant point code behind function. here function:

public function createdynamichtml() string     dim html string = string.empty     'create lots of html      return html end function 

it compiles function not run. put break point in there, doesn't hit. what's going on?

the # symbol databinding. = symbol short response.write. try using <%=createdynamichtml()%>.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -