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.
有人可以告诉我如何从服务器端访问控制并将其属性设置为启用吗?
如果您使用的是网络表单,则需要<input type="number" id="numb" runat="server">专门添加runat="server"
<input type="number" id="numb" runat="server">
runat="server"
并在服务器端执行此操作
numb.Enabled=false;