var abc = ViewBag.xyz as IEnumerable; foreach( var x in abc) { // now we can use abc.(Any item inside Report Model) to show data dynamically }