473,237 Members | 1,155 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,237 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 4540
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bastos.sergio | last post by:
Hello everyone, I'm having a bit of a problem seeying the big picture in this and I was hoping somebody more experienced in this could help tell me if I'm proceding right. I plan to construct a...
1
by: Swati | last post by:
Hi All, I have an application in which I have lots of master-detail forms. I would like to make this code as much generic as possible so that I dont have to do the repetitive tasks everytime. It...
4
by: Jerome | last post by:
Hi, I've got a table like this Cat1 Item1 Cat1 Item2 Cat1 Item3 Cat2 ItemA Cat2 ItemB
2
by: Coen | last post by:
Hello, I have a strange performance delay of about 2 sec's in moving to the next row. I use multiple forms with each master-detail table relations. The master-table displays it's table rows in...
0
by: David Veeneman | last post by:
This post is for the Google crawler-- no response in required. Can a containment hierarchy made up of two collections derived from BindingList<T> be data-bound to master-detail dataGridView...
0
by: Aspnot | last post by:
I have a DataSet that contains two tables (Orders and OrderDetails). These two tables are linked with a relationship that supports cascaded updates and deletes. My form is laid out in a...
0
by: Mike Wilson | last post by:
Dear group, I have an invoice entry form, which is a simple Master fields / Detail grid. The main summary information of the invoice are stored in one table in a dataset, which is bound using a...
3
by: Gina_Marano | last post by:
Hey All, Working with the .Net data has been the hardest part of my transition. It just doesn't seem very intuitive. I want to have a master/detail relationship between 2 grids. When the...
3
by: bgu2116 | last post by:
Is it feasible to do master detail in textbox control? If I do it with datagridview control, I have no problem. However, when I tried to use textbox control, I had running error. I have googled it...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.