Use to use Module...now what?

  • Thread starter Thread starter MsSunshine
  • Start date Start date
M

MsSunshine

Guest
In VB6 every time you used an Access db it automatically created a Module which made Public all the fields so you could use the "Call" method to "Open, Close, Read, Write, Create, Delete, and Edit" the DataBase throughout the different forms in the program. I am really lost in vb.net how to do this. Any suggestions?
 
Youll have to make your reference to the database connection available by passing it to classes which need it, or by making it a public shared field/property of a class in your project. Data access has changed a great deal in .NET and I havent had much experience with it.
 
Back
Top