HI,
Ive got the following script ( wich works perfectly), but i was wundering is it possible to rewrite "data" so it would use less code ( i'm new to asp.net so it would probably be possible ).
questions:
1: how to rewrite data so it would use less code
2. What linQ command should i use to get an array of all CollectorID's of @Model.CollectorStatus So i could replace that for categories in the script.
other example: @Model.CollectorStatus.Count(c => c.BatchCompleted == true && c.CollectorID==1) // now i need a code to get the array.
Code:
Replies
Know the answer? Post it — somebody with the same question will find it here.