I had a look at the Classifieds starter kit. The database has a stored procedure "GetAllAdsByQuery" which is used by the select methods of the object datasource.
This procedure expects only a single AdType at a time or a null in which case it will return all the adTypes. In case you want to search for more than one adType in one select (like you are trying to do), you will have to customize the code to support it across all the different layers and the database.
Check the following forum, maybe someone has already customized it to support this functionality.
http://forums.asp.net/1021.aspx
I hope I didn't miss something.
Whatever I said above is based on the fact that you are trying to use sqldatasource.
In case you decide to do it in codebehind, you can achieve your goal without any customization to the various layers or the database.
The select methods return datatables that can be filtered in the codebehind before binding to the gridview.
Regards,
Prashant
Dont forget to click "Mark as Answer" on the post that helped you.