I have a DLL project with muliple classes; Data classes actually and all these use the same basic connection string. Rather than define them separately for each class I tried this at the top of the file:
Dim ConnectString as String
But I get the error "Statement not valid within a namespace". I understand why but what would be a workaround that will accomplish the same thing; maintain a value common to all the classes within the class library?