I had a betta once, when he was new, that didn't eat for a week. Bettas can be very picky. Keep offering the food you want them to eat and they will try it eventually.
It also helps to soak the food for about two minutes in a small cup of tank water before feeding. The food absorbs water in the cup and not in the stomach, which could cause bloat.