Use the HtmlTextWriter.WriteBreak method to render line breaks in custom control or adapter markup. The HtmlTextWriter.WriteBreak method writes a space between the br and / for improved HTML compatibility.
Requirements
Namespace: System.Web.UI Assembly: System.Web (in System.Web.dll) Assembly Versions: 2.0.0.0