I have Sql Database of companies , and i have to perform search function, for which i have created 6 grid views. Each gridview row has checkboxs, Now how can i write Select query from these 6 gridviews to perform exact search. I am using like this... Select * from TableName Where...... What should i Include after "Where" in above query..