Hi all
I have code to save my DGV in a .txt file:
How can i reload a Comma Separated Value back into my DGV?Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Using writer As New StreamWriter("filepath.txt")
For Each row As DataGridViewRow In Me.DataGridView1.Rows
writer.WriteLine(String.Format("{0},{1},{2},{3},{4}", _
row.Cells(0).Value, _
row.Cells(1).Value, _
row.Cells(2).Value, _
row.Cells(3).Value, _
row.Cells(4).Value))
Next
End Using
End Sub
Many thanks.
Ps. once I've solved this issue, my programme will be complete! :)

