access database query

R

rajjjjjjjjjjj

query = "Select * from AssociateDetails where Project_Name ='" +
drop_proj_name.SelectedValue + "' and Competency_level='" +
drop_comp_level.SelectedValue +"' and Experience='" +
drop_exp.SelectedValue + "'";

I am performing this code in oledb connection with acess data base,
but i m not getting output for "AND" operator.same query using "OR"
gives the o/p.pls help me out to solve this problem how to use "AND"
operator in my query.Very urgent

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top