本文介绍了MVC中强类型视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我只是一个初学者,我对mvc中的强类型视图很困惑,我的问题是为什么我们在mvc中创建一个强类型视图,如果我们可以使用一个相同的工作viewbag?请有人帮帮我,ps一个例子会更有帮助

解决方案

Hello everyone,i am a just a beginner and i am quite confused with the strongly typed view in mvc,my question is why do we create a strongly typed view in mvc if we can do the same work using a viewbag ?please can someone help me with it,p.s an example would be more helpfull

解决方案


这篇关于MVC中强类型视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 05:56