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

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -