简体   繁体   中英

Reading label Data from MVC view using Model binders

We are having MVC view where user can select few fields. I want to read the data from the view. Currently using model binders I am able to read only the changeable data (from text box) into the object. How do I read the data held in label in the view using model binders?

Eric hexter has done this in his opinionated input builders library . It's open source, so you could have a look there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM