Click here to Skip to main content
15,879,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I ve a check box list in that user can select multiple options. I want to filter using row filter.
For single selection it is working fine for mulitple selection it is not working.
Please see this issue


SQL
foreach (ListItem item in chkAvailableShift.Items)
                    {
                        if (item.Selected)
                        {
                            //Response.Write("selectedItem:" + item.Selected.ToString());
                            dv.RowFilter = "Available_x0020_Shift = '" + chkAvailableShift.SelectedItem.Text + "'";
                        }
                    }
Posted
Updated 12-Dec-13 0:37am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900