we are currently getting the content of an Excel Sheet into a bidimensional array this way:
Excel.Range rango = excelSheet.UsedRange;
object[,] excelData = (object[,])rango.Value2;
And later the info is used to store in a Database but, the issue is that within the array some N/A values come from Excel and cause troubles when saving to the Database (we try later with a bulk insert), is there any way to replace the N/A values for empty strings when getting the range? I have tried looping through the array but this is not viable since we can have up to 3 million records and it takes too long.
Thanks in advance.