Blogitter

For line 782

67364
%
public class HomeController : Controller
{
    public ActionResult Index()
    {
        StringBuilder htmlOutput = new StringBuilder();
        htmlOutput.Append("<p>The image below is from " );
        htmlOutput.Append("<a href=\"http://commons.wikimedia.org/wiki/Main_Page\">Wikimedia Commons</a>");
        htmlOutput.Append("</p>");
        htmlOutput.Append("<img src=\"http://upload.wikimedia.org/wikipedia/commons/6/63/CampNou.jpg\" alt=\"Cam Nou\" title=\"Cam Nou\"/>");
        ViewBag.HtmlOutput = htmlOutput.ToString();
        return View();
    }
}
%

Append

(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Use Format Text to add links, quotes, bold, italic and more. You can also upload images or videos or files or archived web pages or multicontent or use any upload website.

Moderators: Blogitter Team

  1. Home
  2. » Pastebin

ABOUT :: BLOGITTER NEWS :: FEEDBACK :: MULTILINGUAL :: FORMAT TEXT :: RSS FEEDS :: REQUEST NEW CATEGORY :: REPORT ABUSE :: HELP :: TERMS OF USE :: CONTACT