You*_*sef 59
我发现的另一种解决方案更容易:
将其添加到Page Load方法:
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Attributes.Add("readonly", "readonly");
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
35651 次 |
| 最近记录: |