Currently viewing the category:
"LINQ"
Normally if you’re looping through a list of items in a ListBox (or CheckBoxList etc) you’d probably do something like this:
That’s great and works well, but I though ‘How could I do this using LINQ?’. This is how:
This may be a trivial example and is a longer way of doing the [...]
This example shows how to iterate over items in a listview to find all those that have been selected using LINQ. I used it originally for an email inbox – you select any number of messages and then hit delete, this gets all the selected items, find the datakeynames (primary key) and deletes that [...]
-
Calendar
May 2013 M T W T F S S « Jul 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta

