Private Items(,) As String Private ReadOnly colNames() As String = "市町村CD,旧郵便番号,郵便番号,都道府県カナ,市区町村カナ,町域カナ,都道府県名,市区町村名,町域名,分割町域,小字起番,丁目含有,複数町域,更新区分,変更理由".Split(","c) Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim filePath As String = "C:\19YAMANA.CSV" Dim q = (From line In System.IO.File.ReadLines(filePath, _ System.Text.Encoding.GetEncoding("Shift_JIS")) Select line.Replace("""", "").Split(","c)).ToArray() ReDim Items(q.Length, UBound(colNames)) For colIdx = 0 To UBound(colNames) Items(0, colIdx) = colNames(colIdx) Next For rowNum = 1 To q.Length Dim cols() As String = q(rowNum - 1) For colIdx = 0 To UBound(colNames) Items(rowNum, colIdx) = cols(colIdx) Next Next End Sub