How to associate an object with an unbound DataGridView row?

  • Thread starter Thread starter Richard Lewis Haggard
  • Start date Start date
R

Richard Lewis Haggard

How can an object be associated with an unbound DataGridView row? I want to
be able to always get from a row to an object and from an object to a row
but it is not obvious to me how such an association can be forged.
 
You might try using the Tag propery on the Row object to see if that
will serve your purpose.

this.dataGridView1.Rows[rowIndex].Tag = someObject;

==================
Clay Burch
Syncfusion, Inc.
 
Back
Top