Data Adapters and Modules

angula

Active member
Joined
Jul 11, 2003
Messages
35
How do you go about making a Data Adapter available in a module? Since I have no form I cannot create it with the wizard, obviously, so I am at a loss.

I would like to be able to create public functions which access a database.
 
I think this is the way it works I havent been able to confirm it:

*you can create the function in a module and make them available to alll the files in that project but you cant make them available to other projects.

*Unless you create a public class in the module and them from any other project you intantiate the class and use the functions or properties

*the other thing you can do is to create a shared class and uase anywhere in your solution given that you have a reference to it in each project.

maybe someboy else can confirm this or provide the correct information about modules and how to use the functions

Hope this helps and Best of Luck
 
Back
Top