What does the value in the parameter str represent? You state in the question that str looks like this, 111,222,3333, is that three different CarrierProductID which you want to filter out all but these? Or is that what the CarrierProductID looks like in the database?