Text Boxes and Labels: Text box controls are typically used to accept input from the user. A text box control can accept one or more lines to text depending upon the setting of the TextMode attribute. Label controls provide an easy way to display text which can be changed from one execution of a page to the next. If you want to display a text that does not change, you use the literal text. Basic syntax for text controls: <asp:TextBox ID="txtstate" runat="server" ></asp:TextBox Common Properties of the Text Box and Labels: Property Description TextMode Specifies the type of text box. SingleLine creates a standard text box, MultiLIne creates a text box that accepts more than one line of text and the Password causes the characters that are entered to be masked. The default is SingleLine. Text The text content of the text box MaxLength The maximum numb...