What is difference between TextBoxFor and TextBox ?

Last updated:9/20/2020 12:22:54 AM

1 Answers

Harsh kumar srivastava
Harsh kumar srivastava

The main difference between TextBoxFor and TextBox is, TextBox is Loose coupled and TextBoxFor is tight coupled. 

Or in other words TextBoxFor show any error/ warnings at compile-time rather than runtime because its strongly typed but TextBox show any error at run-time.

Answer