tag:blogger.com,1999:blog-8980734269859237005.post5510017909888318003..comments2024-01-30T01:03:21.768-08:00Comments on DevCurry: Programmatically Select Multiple Items of an ASP.NET ListBoxSuprotim Agarwalhttp://www.blogger.com/profile/08349831623922214390noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8980734269859237005.post-69774732523420208812010-04-23T05:23:47.155-07:002010-04-23T05:23:47.155-07:00Hi ,
I want to get the selected items from list ...Hi ,<br /><br />I want to get the selected items from list box(multiple items) and need to store it on collection. <br /><br />List aa = new List();<br /> foreach (ListBoxItem Li in lstUnit.SelectedItems)<br /> {<br /> aa.Add(Li.Name);<br /><br /> }<br /><br />I was trying with this coede and not able to get it ,could any body help it out.bhaskarhttps://www.blogger.com/profile/04259611426094355469noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-88106598499222575642009-07-27T09:08:08.733-07:002009-07-27T09:08:08.733-07:00JukeBox: I quickly created a sample and put it ove...JukeBox: I quickly created a sample and put it over here<br /><br /><a href="http://www.devcurry.com/2009/07/retrieve-selected-items-of-aspnet.html" rel="nofollow">Retrieve Selected Items of an ASP.NET ListBox using LINQ </a><br /><br />HTHSuprotim Agarwalhttps://www.blogger.com/profile/08349831623922214390noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-12523678785818184062009-07-27T08:56:12.349-07:002009-07-27T08:56:12.349-07:00Handy. Can i also get list of selected items using...Handy. Can i also get list of selected items using pure LINQ?Jukeboxnoreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-60440637272659496072009-07-27T08:38:06.911-07:002009-07-27T08:38:06.911-07:00Thanks rptHarry! Its fixed nowThanks rptHarry! Its fixed nowSuprotim Agarwalhttps://www.blogger.com/profile/08349831623922214390noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-3997091972695866872009-07-27T01:18:04.906-07:002009-07-27T01:18:04.906-07:00c# code sample is busted (if statement)c# code sample is busted (if statement)rtpHarryhttps://www.blogger.com/profile/12491312873295977300noreply@blogger.com