A guess just by looking at your code that the formatting is wrong forthe maximum and minimum on the line

view.RowFilter = String.Format("BattingAverage >= {0} AND BattingAverage <= {1}", minimum,...