Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有 MVC 视图,用户可以在其中选择几个字段。我想从视图中读取数据。目前使用模型绑定器,我只能将可变数据(来自文本框)读取到对象中。如何使用模型绑定器读取视图中标签中保存的数据?
Eric hexter 在他自以为是的输入构建器库中做到了这一点。它是开源的,所以你可以在那里看看。