We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.
|Advice needed: I need to take data from a web application and transfer the data to word for report automation...||4||71|
|Compare Two Columns on Two Different Sheets and Paste the Results into a 3rd Sheet||5||40|
|Help with Report Viewer in VS2013||6||30|
|Using the .NET JSON Serializer to create a single string||6||55|
Join the community of 500,000 technology professionals and ask your questions.