Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Database building- trying to separate detail and datagridview on different forms -vb2010

Posted on 2013-01-21
1
Medium Priority
?
194 Views
Last Modified: 2013-02-09
hi:

I've been wrestling with trying to separate the details view and the datagridview, placing them on separate forms.  The datagridview will serve as a master docket available in read-only.  Changes and updates will be made on the details view.

I've tried several techniques, including adding the datasource to a second form, and using mdi.  However, when I make a new entry, the datagridview doesn't update.  Any ideas on how this can be accomlished?  Robert
0
Comment
Question by:RobertGeoff
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 38803078
Create a public method on the main form which refreshes the DataGridView. Then call this from the details form when you need to update it.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question