阅读背景:

在视图中创建DropDownListFor项

来源:互联网 

I want to create a DropDownList with a binding for one of my model data, but i want the dropdown items to be built within the View and i do not want the items coming in the Model data or from my controller. Can you please suggest how to build the selectlist within View Basically I want to create something like this:I want to create a DropDownList with a binding




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

分享到: