Upload CSV file to Editable Grid

I would like to upload a csv files and have the records added to an editable grid, validate and submit to the database. Any ideas or advise?

this may help, Upload CSV Data to MYSQL Table using Application using Scriptcase