View data and view bag

Posted by Murugavelmsc under ASP.NET on 2/27/2013 | Points: 10 | Views : 1568 | Status : [Member] | Replies : 2
Hi Experts,

what is View data and view bag?

Thanks,
Murugavel S

Regards,
Murugavel S
murugavel.sadagopan@gmail.com
http://murugavelmsc.blogspot.in/



Responses

Posted by: Satyapriyanayak on: 2/27/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.codeproject.com/Articles/476967/WhatplusisplusViewData-2cplusViewBagplusandplusTem
http://brendan.enrick.com/post/difference-between-viewbag-and-viewdata-in-mvc-3.aspx

If this post helps you mark it as answer
Thanks

Murugavelmsc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 2/28/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

murugavel

ViewBag means we are using MVC like session

ViewData like viewstate only Exists page only.

Mark as Answer if its helpful to you

Kumaraspcode2009@gmail.com

Murugavelmsc, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response