Hey,
I used to use a tool that you type in an HTML Code lik this one:
<div id=\"pnlLoggedIn\" style=\"width:480px;\">
<label for=\"txtUsername\">Username</label>:
<input name=\"txtUsername\" type=\"text\" id=\"txtUsername\" class=\"input_small\" tabindex=\"1\">
<label for=\"txtPassword\">Password</label>:
<input name=\"txtPassword\" type=\"password\" id=\"txtPassword\" class=\"input_small\" tabindex=\"2\">
<input type=\"submit\" name=\"cmdLogin\" value=\"Login\" id=\"cmdLogin\" class=\"red-button\" tabindex=\"3\" runat=\"server\">
</div>
And it gives you this as output:
StringBuilder sb = new StringBuilder();
sb.AppendLine(" <div ...
Go to the complete details ...