控件readonly以后的取值

控件设置readonly以后没法在后台取值,这个时候在page_load中动态设置readonly能够解决这个问题后台

使用控件

  控件.Attributes.Add("readonly", "true");

这样的只读控件能够取到里面的值   

相关文章
相关标签/搜索