I found a third party util that will export the excell into cvs format. Now I am not that familiar with two dimension arrays. I have the cvs file with 3 rows and 20 colums. I also have two colums as strings and 1 as an int.
If you don't know how to handle 2d arrays, I'd say perhaps you aren't ready for reading in files.You should go back and study some more C/C++ until you at the very least have a solid understanding of arrays and how they work.
Dim Adapter As New OleDbDataAdapter
Dim Command As New OleDbCommand
Dim xFrom As String = dtpFrom.Value.ToString.Substring(0, dtpFrom.Value.ToString.IndexOf(" "))
Dim xTo As String = dtpTo.Value.ToString.Substring(0, dtpTo.Value.ToString.IndexOf(" "))
sqlQuery = MainQuery ...