阅读背景:

将selectlistitem绑定到viewmodel的正确方法。

来源:互联网 

I've seen this type of question asked several times, but I can't figure out a correct and clean way to do this. On the post action, my PossibleAnswers property isn't set anymore (normal, as I'm not posting it back). How should I set it again, as the data is coming from the DB? Querying the db again doesn't seem logical to me, although I guess it works. Is there an alternative solution, like caching the list?I've seen this type of question asked several t




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

分享到: