I had very little luck using dandruff shampoos. The shampoos would keep the dandruff from getting worse, but even with regular use they never eliminated my dandruff. So I did some research and found a recipe for total dandruff control.
Get a spray bottle and put in 1 cup vinegar and 1 cup water. Spray scalp until it is completely moist. Let it air dry for 20-30 minutes. Then take a shower and rinse it out. You can then shampoo your hair to help eliminate the vinegar smell. I'd also recommend using conditioner on your hair as well. The vinegar strips hair of its natural oils. I had complete elimination of dandruff flakes after one application. Your mileage may vary.