Posted on: 5/2/2011 1:37:48 AM | Views : 246

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\"> &nbsp;&nbsp;&nbsp; <label for=\"txtPassword\">Password</label>: <input name=\"txtPassword\" type=\"password\" id=\"txtPassword\" class=\"input_small\" tabindex=\"2\"> &nbsp;&nbsp; <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 ...