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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top