ASP.NET TextBox - is it possible to initialize text attribute with in line code <% %>

前端 未结 5 920
傲寒
傲寒 2021-01-18 12:51


I need to initialize the text attribute of the text box element with a property from some where else when actually I can simply do this from code but it will be much m

5条回答
  •  爱一瞬间的悲伤
    2021-01-18 13:44

    90% of the time when I try this I have to use single quotes ('') instead of double quotes ("") around the <%%>. Give that a try before you spend too much time on anything else.

提交回复
热议问题