c# - how to get selected item in CheckBoxList in Asp.net -
c# - how to get selected item in CheckBoxList in Asp.net -
i have checkboxlist in page.is there way selected item values using linq?
what best way selected item values in checkboxlist?
you go taking items of checkbox list , converting them listitems , collection fetch selected, this:
var selecteditems = yourcheckboxlist.items.cast<listitem>().where(x => x.selected);
c# asp.net linq
Comments
Post a Comment