The Display Data() method fills in the data in the Data Grid View.
I have a data Grid View when I click on any row a form is opened to update the row data, but after ending updates the updating form is closed but the data Grid View data is not updated How can i do that ?
If you want your Button on Form B to retrieve the latest data from the database then that's what you have to do whatever Form_Load is doing.
My guess is the data retrieval is on the Form_Load.
For example, if you call the Auto Resize Rows(Data Grid View Auto Size Rows Mode, Boolean) overload of the Auto Resize Rows method and pass in a value of false for the Boolean parameter, the overload will calculate the ideal heights and widths for cells in the row, but it will adjust the row heights only.
If the statement does exist in memory, Oracle Database can reuse it and skip the task of parsing and optimizing the statement.The following code shows a typical contains a client copy of the database data.In this section, you will add a button that enables client data changes to be saved back to the database.In the preceding code, I created a data Grid View1_Row Header Mouse Click Event for updating and deleting the selected record.When the user clicks on the Row Header of a row then the data present in the cell of the row is stored into the Text Boxes.Using bind variables makes the statement reusable with different input values.