Hi All,
I am new to ASP.NET plaese help.
I am parsing a very big data txt file, the file is made of rows each
has 4 values delimited with a tab.
I would like to push each value into it's own cell in a grid row by row
the loop below inserts only the last row....any ideas
Do While fileReader.Peek >= 0 And CurrentPercent <
Request("PercentToLoad")
i = i + 1
stringReader = fileReader.ReadLine()
CurrentCountOfChars = CurrentCountOfChars +
stringReader.Length
CurrentPercent = Math.Round((CurrentCountOfChars /
CountOfChars) * 100, 4)
GridView1.DataSource = stringReader.Split(" ")
GridView1.DataBind()
Loop