Solved

What is the best way of using data from MS Access databases across a multiple form Visual Studio Project

Posted on 2009-05-04
7
201 Views
Last Modified: 2013-11-26
I would like some suggestions about the best way of using the data from Access Databases across multiple pages in a Visual Basic.net project.  If I use the Data Access wizards from each page in the project, the transactions become messy between pages. Would it be best to have a Global Module that handles the transactions?  Any links to code that would help me would be greatly appreciated.

Thanks
0
Comment
Question by:brianhere
7 Comments
 
LVL 15

Expert Comment

by:JackOfPH
Comment Utility
What version vb6 or vb.net?
0
 
LVL 48

Expert Comment

by:jpaulino
Comment Utility
What version vb6 or vb.net?
@JackOfPH
"from Access Databases across multiple pages in a Visual Basic.net project"
 
 @brianhere,
Can you describe more what you want ?
0
 
LVL 15

Expert Comment

by:JackOfPH
Comment Utility
@jpaulino;

lol
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:brianhere
Comment Utility
The software used is VB.Net 2008.  I haven't the experience yet of using databases in visual basic.net without using the data wizards that connect to the access databases and configure all the necessary code automatically. The problem is that I have multiple pages that can be open at the same time in my project that access the same data, and because the data wizard codes the data access to each page, I have the problem of data being changed on one page not accessible immediately in the other pages.  Ideally if I could have a global data access module across the whole project that is updateable from multiple pages and other modules I could be sure of data integrity.

I just don't know of a way I can do this

Any help appreciated
0
 
LVL 15

Expert Comment

by:JackOfPH
Comment Utility
Is this ASP or windows form?
0
 

Author Comment

by:brianhere
Comment Utility
This is multiple window forms that will be open simultaneously.
0
 
LVL 6

Accepted Solution

by:
nirojexpert earned 125 total points
Comment Utility
obviously make a module for retrieving and setting data and then use that module as the gateway for all of your forms.
the baisc logic is not to have many instances of same or similar code.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

11 Experts available now in Live!

Get 1:1 Help Now