TextBox.Attributes.Add("readonly", "readonly"); TextBox.Enabled = false;. 以上三種寫法都可在網頁呈現唯讀的<INPUT>,但後端的行為有些差異。
確定! 回上一頁