Object Oriented Programming (OOP) Concepts April 19 2006
Abstraction (Abstract Class): The process of identifying common patterns that have systematic variations; an abstraction represents the common pattern and provides a means for specifying which variation to use. An abstract class is a parent class that allows inheritance but can never be instantiated. An example is the Shape Class. Creating an instance of a generic shape does not make sense but using the Shape Class to create a Square class does make sense.
Assembly:
An Assembly is a logical unit of code
- Assembly physically exist as DLLs or EXEs
- One assembly can contain one or more files
- The constituent files can include any file …
RangeValidator
The RangeValidator is a web control that has the ability to automatically validate data entry between a maxiumum and minimum value.
One would use the RangeValidator in the typical web control fashion of :
The RangeValidator is able to validate the following:
- Currency
- Dates
- Strings
- Doubles
- Integers
Here are the basic parameters to assign when using the RangeValidator:
- TYPE : Currency, Date, String, Integer, Double
- RUNAT : SERVER
- ID : Unique ID for the control
- ControlToValidate : The ID of the control that requires validation
- MaximumValue : The maximum allowed value
- MinimumValue : The minimum value
- ErrorMessage : The message that appears when the validation is unsuccessful
Thats about it.
Padre Kristobal’s Salad Dressing April 12 2006
Here is a quick and easy salad dressing that the good padre recommended to me:
Ingredients
1/3 cup Extra Virgin Olive Oil
1/3 cup red wine vinegar
1 teaspoon balsamic vinegar (add more if you want)
2 colves of garlic
1/4 onion (Padre recommends Green or Red, I used a common cooking onion)
1 tablespoon mustard ( I used dried Keens )
Dash Pepper / Dash Salt
Prep
1. Dice the garlic and the onion very fine. Use a garlic press if you like
2. Combine all ingredients into a dish or cup
3. Whisk like mad! If you have a hand blender or food processor that would work too.
Et Voila!
« newer posts |