I have a problem with datagridview.
Form 1 : populating data with datagridview …(when i click on the datagrid view row the corresponding row values are transferred to another form)
Form 2 : i have text buttons with save button
when i click on the datagrid view row the values are transferred to another form this is working fine…..
in form 2 i have done some changes with that data but this changes does not reflect in the form 1 datagrid view …
How can i solve this problem…..
There are few options for you. Passing the Form1 instance to the Form2 and refresh the Form1 DataGridView dataSource from Form2 is one option.
For example. Form2 constructor can be like below
Method2
You can call a method to refresh the Form1 DataGridView in Form1 by creating an event in Form2.