1.5.11

Danpe Presents: C# HTML Builder

Having trouble building HTML with C# ?

Have you ever used something like this to generate HTML tables for example:
StringBuilder sb = new StringBuilder();
for (int i = 1; i <= 32; i++)
{
    sb.AppendLine("<tr class=\"row\">");
    sb.AppendLine("<td>" + i + "</td>");
    sb.AppendLine("<td> </td>");
    sb.AppendLine("<td> </td>");
    sb.AppendLine("<td> </td>");
    sb.AppendLine("</tr>");
}
return sb.ToString();
(As you see even the SyntaxHighlighter couldn't handle all of those Escape Characters)

I'm pretty sure you did :)
And you probably you hate all of those Escape Characters! (/" " +)
And doing sb.AppendLine all the time and doing all this formating!
Imagine you have 50 lines?? OMG...

So anyway i made an Application to make you'r life easier :)


Simple as it looks :)
Download Here: C# HTML Builder

11 comments:

  1. Anonymous25/3/13 17:45

    awesome.. very useful. Thanks.

    ReplyDelete
  2. Anonymous3/7/14 09:26

    Thanks for great tool .It save my lot's of time

    ReplyDelete
  3. Anonymous17/9/14 04:01

    Works great and really helpful, thanks a lot !

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Great Thanks for Great tool.it's saved lot of DEV efforts

    ReplyDelete
  6. this tool is awesome thanx.

    ReplyDelete
  7. Anonymous24/5/18 14:30

    Thanks.awesome tool.its saved lot of time

    ReplyDelete
  8. Muito obrigado por disponibilizar !! Funcionando perfeitamente.

    ReplyDelete
  9. thanks this is so helpful

    ReplyDelete