3
Answers

Using DataGridView to edit a DataTable

Ormond Stock

Ormond Stock

3y
760
1

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)