ASP.NET filter a query based on checkboxes

HI
I am creating an ASP.net 2.0 app against an Oracle DB, I am relatively new to .net and oracle.
I have a view in oracle that I need to query however I want the end user to be able to select the values for two columns that are returned. So my view contains information for all usergroups and activities, I would like the end user to be able to select using check boxes the usergroups and activities that are included in the query. So lets say they want info Usergroups A, B and C and activities 1,2 and 3, they would tick the relevant CheckBoxes and this would add the where clause to the select on the view.

Thanks
timpoynterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kelvin McDanielSr. Developer/ConsultantCommented:
I'm not 100% sure of what you're actually asking for... it looks like either "how do I write this query", or, "what code I need to do this"...?

How exactly can I help you?
0
timpoynterAuthor Commented:
Hi

Thanks for the response and apologies for the confusion.
I have created a view in Oracle, I need to be able to perform a dynamic query against it based on some paramters that the end user selects via the asp page.  They will choose which values from two columns they wish to filter the results to. So if they were to tick the check boxes against Usergroups A, B and C and Activities 1,2 and 3 then I need to query the view as follows
Select * from View where Usergroups in ('A','B','C') and Activities in ('1','2','3')
I know how to query the view what I dont know is how to construct the page so provide the checkboxes and then the results.
Hope this is clearer?
Thanks
0
timpoynterAuthor Commented:
Hi

I have now resolved this issue

Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.