Last post May 16, 2011 11:19 PM by Decker Dong - MSFT
May 14, 2011 11:15 PM|TRU|LINK
Been a long time since I have ventured into this forum. Wow how the look had changed.
Need some help. I understand my request is not the best practice, but it will be good enough for the application at hand.
How do I get values of selected items of a checkboxlist to pass to one column of an Accsss db?
Using accessdata source and working in VB.
May 16, 2011 07:18 AM|KumarHarsh|LINK
I think checkboxlist work same as dropdownlist.
Populate checkbox list with value and Text.
Insert checkboxlist's value in msaccess.
Datatype according to the values of checkboxlist.
May 16, 2011 11:19 PM|Decker Dong - MSFT|LINK
Suppose you have a CheckBoxList, try this:
foreach(ListItem item in CheckBoxList.Items)
//Here your SQL inserting, deleting or updating....