Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

pass viewbag using ienumerable

var abc = ViewBag.xyz as IEnumerable<MeroPet.Model.Report>;

foreach( var x in abc)
{
// now we can use abc.(Any item inside Report Model) to show data dynamically
}
 
PREVIOUS NEXT
Tagged: #pass #viewbag #ienumerable
ADD COMMENT
Topic
Name
3+6 =