Thanks, but I was probably not precise enough, my fault

...
I would like to do the controls dynamically as in (not tested)...
Code:
...
HtmlForm form = new HtmlForm();
HtmlInputImage image = new HtmlInputImage()
form.Controls.Add(image);
Page.Controls.Add(form);
...
Then how do I make a password field?
Thanks
Jacob.