HtmlTextWriter.WriteBreak Method
.NET Framework 2.0
Writes a <br /> markup element to the output stream.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The following code example shows how to call the WriteBreak method to write a <br /> element to the requesting browser after the WriteEncodedText method writes the encoded <custID> & <invoice#> markup.
// Assign a value to a string variable, // encode it, and write it to a page. colHeads = "<custID> & <invoice#>"; writer.WriteEncodedText(colHeads); writer.WriteBreak();
Community Additions
ADD
Show: