filtering from multiple dropdownlists
- From: DevCon7@xxxxxxxxx
- Date: 18 Jan 2007 13:06:33 -0800
I created a datagrid which populates data from sql server. There about
8 columns on the grid I need to be able to filter on. I did setup
several dropdownlists and was sucessfully able to filter based on and
"AND" crietia.
ex. CITY = "SSDF" AND STATE ="OK" AND PHONE = "325-695-9656" AND
.....etc etc ...
This part seems fine, but my users need to be able to filter somtimes
on AND and somtimes on OR, but it seems that I have to specify it one
way or the other.
Is there a way to collect the criteria and and pass it to the
datasource at runtime. or any other suggestions as to how I should go
about doing this.
Thanks
.
- Follow-Ups:
- Re: filtering from multiple dropdownlists
- From: Alvin Bruney [MVP]
- Re: filtering from multiple dropdownlists
- Prev by Date: Re: Format Date in Databound column
- Next by Date: Re: Format Date in Databound column
- Previous by thread: Format Date in Databound column
- Next by thread: Re: filtering from multiple dropdownlists
- Index(es):
Relevant Pages
|
Loading