Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

I think this is the way it works I haven't 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 can't 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

You're either a one or a zero. Alive or dead.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...