inline page code for sever controls never works

后端 未结 2 650
-上瘾入骨i
-上瘾入骨i 2021-01-16 19:24

I tried the following code, I tried to use inline expressions like <%, ,<%= , why I can\'t use inline expression with server side control?

In my first line of

2条回答
  •  广开言路
    2021-01-16 19:40

    When you bind an expression <%# %> you must have to call Control.DataBind() or Page.DataBind() to evaluate it.

提交回复
热议问题