23460 Posts in 18907 Topics by 2877 members
|Go to End|
26 August 2013 at 4:30pm
I'm using the CSVParser class to handle a CSV file, mostly fine, but if the CSV has the wrong number of items in a row, it creates a 'user_error', resulting a blue blue screen...
Does anyone know of a way of checking the column rows in the CSV before asking CSVParser to parse the file
Does anyone know of a way of taking a generated 'user_error' and presenting it nicely to the user, rather than dying on a big blue screen!
Or - or the CSVParser class just not up to it, and should I be using CsvBulkLoader instead?
|Go to Top|