By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,312 Members | 1,850 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,312 IT Pros & Developers. It's quick & easy.

Master Detail Forms refreshing datagridview

P: n/a
RSH

I have a situation where I have a Master form that contains a DataGridView.
Each row has a details... button that spawns a new winform which shows many
more fields than the DataGridView. The user can elect to update any of the
displayed information the problem is that if they do, even though the
database is updated, when the Detail form is closed the Datagrid is not
updated. Of course I understand why not, but how can I refresh the datagrid
with the freshly entered information when the Details form closes?

Thanks!
RSH
Dec 8 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
One way is to rebind the data to the datagrid in the details form close event.

"RSH" wrote:

I have a situation where I have a Master form that contains a DataGridView.
Each row has a details... button that spawns a new winform which shows many
more fields than the DataGridView. The user can elect to update any of the
displayed information the problem is that if they do, even though the
database is updated, when the Detail form is closed the Datagrid is not
updated. Of course I understand why not, but how can I refresh the datagrid
with the freshly entered information when the Details form closes?

Thanks!
RSH

Dec 9 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.