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.
Ormond StockPosted Dec 30, 2021, 2:35 AM
Sachin SinghPosted Dec 28, 2021, 6:57 AM
Srinivasan RamamoorthiPosted Dec 28, 2021, 5:20 AM
Check this link
https://www.c-sharpcorner.com/UploadFile/1e050f/edit-and-update-record-in-gridview-in-Asp-Net/