They are both text box controls for inputting information. What is the difference between the two controls? Which one should be used in a normal B / S project?
Thank you!
It should be the same, except that the two language names are executed differently. One is executed on the server and then returned to the client, and the other is executed on the client, but the final effect is the same.
<asp is a web control in .net, it has more functions than INPUT
<INPUT is a traditional HTML language tag, suitable for any browser
If you use asp.net, I suggest using <asp, so you can use C # as the back-end language for programming.
<asp is a web control in .net, it has more functions than INPUT
<INPUT is a traditional HTML language tag, suitable for any browser
If you use asp.net, I suggest using <asp, so you can use C # as the back-end language for programming.
asp: textbox is a server-side control provided by .net.
The latter is an html control. Although runat = server can also be added as a server-side control, the function is less than asp: textbox.
b / s applications, it is recommended to use asp: textbox