MS VS-2005 Read .csv file

I am reading a .csv file with the help of io namespace

the following code is showing me data properly on browser, the problem is that I need to start reading data from the 2nd line instead of 1st line and then show the same on browser:

        Dim sW As New StreamReader(path)
        Dim a As String
        a = sW.ReadLine
        Dim SqlInsert As String

        While Not a = Nothing

            Dim value() = Split(a, ",")

            Response.Write(a)
            Response.Write("<br/>")
            Response.Write(value(0))
            Response.Write("<br/>")
            Response.Write(value(1))
            Response.Write("<br/>")
            Response.Write(value(2))
            Response.Write("<br/>")
            Response.Write(value(3))
            Response.Write("<br/>")
            a = sW.ReadLine

        End While



MehramAsked:
Who is Participating?
 
Jorge PaulinoIT Pro/DeveloperCommented:
Dupicate the line

a = sW.ReadLine
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.