programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Website by URL, How to Play YouTube Videos in by using Jquery , Jquery Change div background on mouseover in , JQuery UI Datepicker (Calendar) etc.

Saturday, February 21, 2015

What is the best way to create HTML in C# code

What is the best way to create HTML in C# code:

Way to create HTML in C# code:

public HtmlString theHtmlTableMomToldYouAbout()
        string content = "";
        HtmlString theEnvelopePlease = null;

        for (int i = 0; i < 5; i++)
            content = content + "<tr><td>The Number Is: " + i + "</td></tr>";
        theEnvelopePlease = new HtmlString(content);
        return theEnvelopePlease;     

No comments:

Post a Comment