I know what global variables are and use them in my projects. Is it possible to write global variables once and incorporate them into multiple projects.
I am wanting to do this with SQL parameters that rarely if never change. Here is one for example:
Expand|Select|Wrap|Line Numbers
- Public gSQLExpeditedShipments As String = "Server=TechDev01;Database=Expedited Shipments;Trusted_Connection=True" ' Expedited Shipments
- Public gSQLConnVersionControl As String = "Server=TechDev01;Database=VersionControl;Trusted_Connection=True" ' Version Control Database
Can this and other static parameters be put in a single location and be used by all the projects that use it? This way it would only have change once.
Any help would greatly be appreciated. Thanks in advanced.