Please not that you must rearrange your code so that the array is created AFTER the DataTable is populated.

Also, why are you declaring your array as type String? You're database column contains Dates so your array should contain Date objects too.