Author: baytes | Posted on: 6/9/2008 12:58:08 PM | Views : 987

i am trying to get the selected value of a check box list and insert that into a sql statement. no big deal right? lol wrong....i'm dong this in the selectedindexchanged event of the check box list. the first part of the code is just there a tester so i can check and see if the count is being added correctly and if the anythign is getting passed. however the items.count shows correctly but the cklstManagers.Items[i].Selected shows false and i can't get it to show anything but null

here is code:

for (int i = 0; i < CklstManagers.Items.Count; i++)
        {
            if (CklstManagers.Items[i].Selected)
            {
                listbox1.Items.Add(CklstManagers.Items[i].Value);
     &nb ...

Go to the complete details ...