ASP:文本框只读= true或启用=假? [英] asp:TextBox ReadOnly=true or Enabled=false?
本文介绍了ASP:文本框只读= true或启用=假?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么启用之间的区别一个asp的只读属性:?TextBox控件
What's the difference between the Enabled and the ReadOnly-properties of an asp:TextBox control?
推荐答案
如果某个控件禁用
它不能被编辑和它的内容是在提交表单时除外。
If a control is disabled
it cannot be edited and its content is excluded when the form is submitted.
如果某个控件只读
它不能被编辑,但其内容(如果有的话)仍包含在提交。
If a control is readonly
it cannot be edited, but its content (if any) is still included with the submission.
这篇关于ASP:文本框只读= true或启用=假?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文