L A

L A

  • NA
  • 170
  • 171.2k

Bind ViewBag data to HTML table

Nov 3 2017 1:19 PM
Hello,
I was trying to bind View Bag data to a HTML table.
 
ViewBag data in Quickwatch
 
viewbag data in razor
 
But when i try to access each item, Microsoft.CSharp.RuntimeBinder.RuntimeBinderException is thrown.
Suggest me, how to resolve this & let me know my mistake.
 
Thanks in advance.

Answers (5)