I’m working on a data entry Form. When I click on the save button I want the data in the form to be saved to the database. I also want a DataGridview to be filled from the database.
My question is: when I select any row from a DataGridview that row will be shown as selected. Based on primary key data all fields of data entry form will be filled in.
Which event can I use for that? Can anyone offer any suggestions?
you can do
or use the row enter event to get the current row