Ormond Stock

Ormond Stock

  • NA
  • 18
  • 1.2k

Using DataGridView to edit a DataTable

Dec 24 2021 10:22 PM

I'm learning how to use a DataGridView to edit a DataTable.   I have the DataTable set as the source.  The EditMode is set to EditOnKeyStrokeOrF2.

Beginner's question - do I need to write the code to allow editing and updating?  If so, what is the EditMode for?

If I run the code so far I see the data from the table but clicking any cell does not enter Edit mode.

 


Answers (3)