"/>
阅读背景:

如何将列表框(选择size= " n ")项值绑定到IEnumerable = int>

来源:互联网 

I have a select element on my form. I fill its contents with javascript. The view model has a property called Fruits of type IEnumerable. Is it possible to bind this select to that property when I submit the form? So to make it clear, assume there's a form with a select of size 5, which at the same time is empty. Then I add some items (options) to that select with java script:I have a select element on my form. I fill its




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: