Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
If File.
Exists("c:\Test\certamen.txt") Then ListView1.Items.Clear()
Dim sr As New StreamReader("c:\Test\certamen.txt")
[b] Dim linea = sr.ReadLine
Do While Not linea Is Nothing[/b]
Dim arreglo() As String = linea.Split(";")
ListView1.Items.Add(New ListViewItem(New String() {arreglo(0), arreglo(2), arreglo(1), arreglo(3), arreglo(4)}))
[b] linea = sr.ReadLine[/b]
Loop
sr.Close()
Else
MsgBox("Error,No existen Productos.debe registrar algun producto", MsgBoxStyle.Critical)
End If
end sub