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

java - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -