Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

filter collection viewbag

((IEnumerable<ComboItem>)ViewBag.Districts).Where(x => x.ID == item.DISTRICT_ID);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #filter #collection #viewbag
ADD COMMENT
Topic
Name
2+9 =