Sandeep Kumar
What is syntax for Viewbag in mvc ?
By Sandeep Kumar in .NET on Dec 26 2015
  • Ritesh Singh
    Aug, 2016 4

    ******* Set Temp Data *********** public ActionResult Index() {ViewBag.Name = "ABC";return View(); }******* Get Temp Data *********** @ViewBag.Name

    • 0
  • Sandeep Kumar
    Dec, 2015 26

    The syntax for Viewbag in MVC is Viewbag.variable=value;

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS