Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shared constants
Message
From
14/08/2005 14:51:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Shared constants
Miscellaneous
Thread ID:
01040828
Message ID:
01040828
Views:
76
How can I define constants that are shared amongst several forms? In the same project, for a start.

For example, I have several forms that access different tables, in the same Access database, so for simplicity, I would like to have a shared constant for a connection string (so that I can quick switch between two different connection strings between home and the academy where I am learning .NET).

TIA,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Next
Reply
Map
View

Click here to load this message in the networking platform