devxlogo

January 11, 2002

Implement a Generic Custom Validation Control

This Tip applies to Microsoft .NET Framework. using System; using System.Text.RegularExpressions; public class CustomValidations { public CustomValidations() { } /// /// This method is used for validating _the string and

A New Way to Deal with Popup Windows

When creating a popup window from a hyperlink or button, I often get an error because I try to do it myself and the author has hard coded the same

Control the Scope of a Singleton in an Application Server

Here is the code defining a singleton class: public class SingletonClass{ private static int id = 0; private static SingletonClass sclass = null; private SingletonClass(){} public SingletonClass getInstance(){ if(sclass ==null