471,348 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Master Detail Forms refreshing datagridview

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
1 4457
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.

Similar topics

1 post views Thread by bastos.sergio | last post: by
1 post views Thread by Swati | last post: by
4 posts views Thread by Jerome | last post: by
2 posts views Thread by Coen | last post: by
reply views Thread by David Veeneman | last post: by
reply views Thread by Aspnot | last post: by
reply views Thread by Mike Wilson | last post: by
3 posts views Thread by Gina_Marano | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.