For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET Webcontrols > January 2006 > 2.0 Databinding with CheckboxList









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author 2.0 Databinding with CheckboxList
Jeppe Jespersen

2006-01-26, 7:06 pm

I basically have two controls on my form: A CheckboxList and a GridView.

My gridView is bound to a sqlDataSource. In the dataSource's "where" clause,
i specify that a parameter should equal the selected value from my
checkboxList.

But.....

The where-clause only evaluates the _first_ selected value in the
checkboxList. I would like it to show records that match _any_ selected
value from the checkboxList.

Any ideas?

Jeppe Jespersen
Email: jdj curlythingie jdj dot dk
Denmark


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com