Both are bad for dogs.
I have a hub on why, but I can't seem to find them. I think grapes because there's something in them that can be toxic for dogs, or an irritant. I can't quite remember.
Here's a hub though that has a list of foods to avoid giving your dog