Quantcast
Channel: LINQ to XML query from multiple ListBox items - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Jeff Mercado for LINQ to XML query from multiple ListBox items

Try changing your where clause like so:.Where(b => lbxItems.Items .Cast<ListItem>() // needs a cast .Where(i => i.Selected) .Select(i => i.Value)...

View Article


LINQ to XML query from multiple ListBox items

I need an example of linq to xml query.I have two ListBoxes with SelectionMode set to Multiple.My query for populating first ListBox is:var query = doc.Root.Descendants("Articles") .OrderBy(b =>...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>