I am trying to import a large array of integers stored as a csv file into a VB.Net DataTable called BeamMap
. The .csv file consists only of integers with a separator 1,3,-2,44,1
without quotation marks around the data (i.e., 1,3,-2,44,1
) and the end-of-line character of the line feed and carriage return. All I want to do is get every integer in the DataTable cell with the corresponding rows and columns (the number of columns for each row is the same) and be able to refer to it later in my code. I really do not want anything more than absolutely necessary in the code (without headers, titles, titles, etc.), and I need it to be efficient enough (csv array is about 1000 ~ 1000).
Thanks!
source share