C# Developers' Journal (original) (raw)
Hey gang, this is my first post this community. How's it going? ;)
Well, I'm new to .NET and I'm working in C#. It's fun so far. But one thing I'm trying to figure out, how to simulate the "include" feature that we had with regular old asp.
I've looked in to Custom User Controls and I'm terribly confused.
Here's what I want to accomplish:
I want to be able to have a set of defined variables that I can include and use with my C# code. So, for example, in this file I'd define varServer and varDB. And then I want to be able to include these at the "top" of my code that needs to use these variables.
Does this even make any sense? *chuckle*
Any help (or links) would be greatly appreciated!