如何设置TextBox表单只读 有好几种办法,我暂时只说一种比较新的,而且也挺方便有效的,如下: <asp:TextBox ID="txtEndDate" runat="server" onfocus="this.blur();"></asp:TextBox>