473,326 Members | 2,099 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,326 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 4546
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
1
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.