asp net webform textbox or razor textbox or html textbox to use? when to use?

heloo

New Member
i just learning c# asp net webform and webpage razor from w3school, I find out that asp net webform have their own textbox syntax and razor does have too and html does have one too, which one I have to use and in what condition?this one is asp.net webform\[code\]<form runat="server">A basic TextBox:<asp:TextBox id="tb1" runat="server" /><br><br>A password TextBox:<asp:TextBox id="tb2" TextMode="password" runat="server" /><br><br></form>\[/code\]for razor \[code\]@Html.TextBox("TextBoxName")\[/code\]and for HTML i think everyone know it. Gimme some suggestion, really confusing right now
 
Top