title: How to get the contents a particular cell using excel data reader in Visual Basic? Using ExcelData Reader
body: <p>I'm using the following code and I'm trying to understand how to access the content of each cell in the excel document in order to Validate it... but everything that I've found on the internet is in C# I tried to translate it but I'm getting some errors.. this is my code:</p>
  <pre><code>Using stream = File.Open(FullUpldPath, FileMode.Open, FileAccess.Read)
      Using reader As IExcelDataReader = ExcelReaderFactory.CreateReader(stream)
         Dim result As DataSet = reader.AsDataSet(New ExcelDataSetConfiguration() With {
                                                                   .ConfigureDataTable = Function(__) New 
                                                                    ExcelDataTableConfiguration() With {
                                                                   .UseHeaderRow = True}})
         Dim tables As DataTableCollection = result.Tables            
      End Using
  End Using
         
  </code></pre>