I have been beating my head against the wall for the last hour looking at various postings that seem to replicate exactly what I have below.
When I look at my datagridview, I can see the specific column headings names....one of which is 'Address'. Yet when I run this line of code below, it tells me Column named Address can not be found. Because the columns can be re-arranged I can't use the column index. I HAVE TO USE THE COLUMN NAME. What's wrong with this?
vals(i) = grdviewTable.CurrentRow.Cells("Address").Value