Multiline TextBox multiple newline
You need to set the textbox to be multiline, this can be done two ways: In the control: <asp:TextBox runat=”server” ID=”MyBox” TextMode=”MultiLine” Rows=”10″ /> Code Behind: MyBox.TextMode = TextBoxMode.MultiLine; MyBox.Rows = 10; This will render as a <textarea>