Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.
DataGridView1.Rows.Add() 'ROW ADDED varcount = DataGridView1.Rows.Count 'MAX ROWS OF DATAGRIDVIEW For xvar As Integer = 0 To 5 'LOOP INPUT FILE Dim varstr Dim line 'STRING CONTAINING INPUT Dim pos As Integer 'POSITION OF SEMI-COLON line = sr.ReadLine 'READS LINE pos = InStr(line, "; ") 'GETS POSITION OF SEMI-COLON varstr = line.Remove(0, pos) '>>>>>ERROR HERE<<<<< DataGridView1.Rows(varcount - 1).Cells(xvar).Value = varstr 'INPUT COLUMN CELLS Next xvar
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.