JustinN Posted June 30, 2004 Posted June 30, 2004 I want to make a function that will connect to my database when I call it. Where do I put this function in my program so that I can use it on any form? Do I use a global Statement? Quote
Administrators PlausiblyDamp Posted June 30, 2004 Administrators Posted June 30, 2004 You are probably better making it a public function (possibly a shared (VB) or static (C#) function) of a class and calling this from your other code. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.