Using C# code make the Textbox as Readonly and Change the background color
TextBox1.ReadOnly = true;
TextBox1.BackColor = System.Drawing.ColorTranslator.FromHtml("#F2F0E1");
<asp:TextBox ID="TextBox1" runat="server" Width="30px" MaxLength="10"></asp:TextBox>
Comments
Post a Comment