Solved

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

Posted on 2013-01-21
1
173 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now