Dynamically Creating Controls in Palm OS
Creating controls in Palm OS is very useful. It gives vital power to the programmer in creating applications. There are various controls in Palm OS like buttons, check boxes, radio
Creating controls in Palm OS is very useful. It gives vital power to the programmer in creating applications. There are various controls in Palm OS like buttons, check boxes, radio
There are two ways in SQL Server to execute a T-SQL statement that has been dynamically built. The most common one is using EXECUTE to run it: EXECUTE @sqlstatement In
Selecting the top N rows in a table is no problem in SQL Server, but how to select the 2N to 3N rows is not as clear. Using the following
Here is sample code: import java.security.SecureRandom;public class UniqueNumberGenerator{ static final SecureRandom random = new SecureRandom(); static final StringBuffer buffer = new StringBuffer(30); static { random.nextInt(); } public static String getNextUID()
It seems common knowledge that I/O streams and JDBC database connections are resources that need to be released as soon as they are no longer needed. Not so common knowledge
Many books about JDBC and most of JDBC-related sample code floating around seems to assume that JDBC is used directly, meaning that database connection is established by the DriverManager, and
If you’re like me, and sometimes need to modify Active Directory data from an ASP page where the user is either anonymous, or doesn’t have admin privileges, you need a
The equals() method in the String class is commonly used to compare two strings for equality. However, this method returns true only if the argument is not null and is
This is a fast and versatile function for loading comboboxes.I have not included a ComboBox.Clear, to make it possible to load multiple recordsets to the combobox. This makes it more