I am trying to display unbound data in a DataGridView. I set up columns already design-time. I am at a loss for creating code that adds a new row using the column schema that was created in the Designer?
Something like this?
vb Code:
dim newrow as DataGridViewRow newrow.cells.item("name").value = "text here" datagridview1.rows.add(newrow)
I get an error saying the 'name' column was not found?


Reply With Quote
