c# - ASP.net CheckboxList Inserting to DB -
i have page several checkboxlist controls 4 checkboxes in each of them , i'm trying run insert statement each of checkboxes checked in checkboxlist controls after user hits on submit button. guide how can this? using oledb.
you can loop through them this:
(int = 0; < checkboxlist1.items.count; i++) { if (checkboxlist1.items[i].selected) { // if item checked } }
Comments
Post a Comment