Scott has a nice write up:
http://www.odetocode.com/Articles/348.aspx
Sometimes you don't have a choice to use one (htmlfileinput) or the other
(datalist)...I like to think that HtmlControls are mostly there to help
people get their ASP/HTML pages quickly converted to ASP.Net (slap on a
runat="server" and an id and voila...)
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"gabriel" <sp**@yahoo.fr> wrote in message
news:42**********************@news.free.fr...
greetings,
I understand the difference when the webcontrol generates its html with
feeding its Text property but not the following :
<input name="login" type="text" size="8" id="login" runat="server">
<asp:textbox id="txtUserName" runat="server" width="160px">
both run on the server, both have a protected field.
Is it 2 ways of doing the same thing ???
many thx !