Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I declared my sql connection string in a module to make it available to all the forms within the project. Now i need to make something like a dialog box that once i have deployed it the user can enter the name of the server into it and it will be able to connect. Is this possible or is there a easier way of doing this? :confused:
  • Moderators
Posted
Instead of a module, create a class... you can have the constructor or a property get the server name. then have a method or property returrn the full connection string to the user.
Visit...Bassic Software

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...