MVC用@Html.TextBoxFor为什么不直接用 input type="text"这个

2025-05-09 20:08:24
推荐回答(1个)
回答1:

使用TextBoxFor主要是为了用它提供的强类型和模型绑定功能