var tb = new TagBuilder("a"); tb.MergeAttribute("href",link); tb.AddCssClass(cssClass); tb.ToString(TagRenderMode.SelfClosing);
StringBuilder sb = new StringBuilder(); sb.append("<html>"); sb.append("<head></head>"); sb.append("<body>"); sb.append("<div>My Test Div </div>"); sb.append("</body>"); sb.append("</html>");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)