In asp.net mvc3, I've got a few local variables in one of the controller, is there any neat way to pass all these variables to view? Something like "locals()" in python?
You will have to explicitly pass them to the view - using a view model.
In asp.net mvc3, I've got a few local variables in one of the controller, is there any neat way to pass all these variables to view? Something like "locals()" in python?
You will have to explicitly pass them to the view - using a view model.
上一篇:炸好的腐竹怎么做好吃啊??
吃滋肾育胎丸要怎么样减量??:下一篇
精彩评论