SyntaxFix
Write A Post
Hire A Developer
Questions
I am using the code listed below to handle null cells in an Excel sheet that is read in to a datatable.
if (!reader.IsDBNull(2)) { row["Oracle"] = (string)reader[2]; }