阅读背景:

用父/子表填充SelectList

来源:互联网 

I am trying to populate an Html.DropDownList in MVC. The problem I'm having is that I have a child table called "ODSessionTopics" that has a foreign key (ID) to the "ODSessionType" table which contain the headers for the topics. Here are my models: I am trying to populate an Html.DropDownList in




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

分享到: