Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用内联代码在文本框中呈现动态文本?我已经尝试了以下方法,但它会在文本框中打印整个块。
<asp:TextBox runat="server" ID="FirstName" ValidationGroup="" text='<%="test"%>' ></asp:TextBox>
谢谢
这是你想要的?
<input type="text" value="<%=test%>" />