hi farooq,
please change the query as per below code
string query = "Select * from Products where ProductID in (" + Request.QueryString["ID"].ToString() +") AND UnitCost < 5000";
here , if ProductID field has int datatype then query become like
productID in (1,2,3,4,5) like this,
and if productID field has varchar datatype or nvarchar datatype then
productId in ('1','2','3','4')
hope this solution will help....:)