不能用服务器控件的ReadOnly=“true”,这样当然得不到,服务器端会认为这个控件只读,对属性的更改也无效 应该在Page_Load中txtEtno.Attributes.Add("readonly", "readonly");设置