I am reading a text file which has characters in one line separated by comma....
I want to read it into a data grid so that these apper in coulmn 1 of data grid how do i do it. Currently i am reading it like this...
If System.IO.File.Exists(fName) = True Then
Dim objReader As New System.IO.StreamReader(fName)
Do While objReader.Peek() <> -1
TextLine = objReader.ReadLine()
SplitLine = Split(TextLine, ",")
but this reads it into one row in separate columns like this
col 1 col2 col3
row 1 field1 field2 field3
where as i want it to look like