If I did undestand your problem this occurs when a cell is empty in your readExcel.Read() code?
Did you check if your GetString() function worked on that particular record and cell in the imidate console, then you could see if any erro thrown or if a result is send back by the method. That will give us some more information I think.
charly.p
Member
348 Points
305 Posts
Re: reading excel table with empty cells (oledb)
Feb 14, 2012 02:32 PM|LINK
If I did undestand your problem this occurs when a cell is empty in your readExcel.Read() code?
Did you check if your GetString() function worked on that particular record and cell in the imidate console, then you could see if any erro thrown or if a result is send back by the method. That will give us some more information I think.