FreeriderUK
Well-known member
I am importing spreadsheet data using StreamReader.
Is there any way to check the data being imported is valid?
The first column in my spreadsheet is an integer which I need to check against a valid range of numbers before accepting the data - if it's invalid I will use a default value (the first in my range).
I know SourceReader has the .Item(x) property for the row, but what about the field/column or whatever you call it?
Is there any way to check the data being imported is valid?
The first column in my spreadsheet is an integer which I need to check against a valid range of numbers before accepting the data - if it's invalid I will use a default value (the first in my range).
I know SourceReader has the .Item(x) property for the row, but what about the field/column or whatever you call it?