HEXAQ : A friendly question - answer site for IT professionals

ASP.NET MVC : ViewBag vs ViewData[Key]


0

Being a newbie to ASP.net MVC I am developing an application in my company.

I am working on an existing application upgrade.

There are two words used to get values 1. ViewBag 2. ViewData [key]

I have searched many sites but couldn't get the exact difference.

Can anyone help me to choose the better one?

Â
asked
 


≡ Total 0 Answer

Enter your reply here
Answer Preview: