devxlogo

February 21, 2002

Trim the Contents of HTML Form Elements

To use this tip, the HTML form element which is required for Null Check should assign the title property some value concatenated with “C.” For example: On the submit tag,

How to Schedule a Task

Here are three alternatives to scheduling a task run repeatedly without using threads:1.Using loop construct: boolean temp=true; While (temp) { for (int i = 0; i < 999999999; i++) {

Run a SQL Script File Using T-SQL

There’s no direct command to read a script file and execute it. But isql.exe and osql.exe come in handy when you have to execute a script file from within T-SQL.

Improve the Performance of Loops

Almost all Java applications require looping at some point or other. Even the slightest improvement in looping time can make a huge performance difference. Because the size of an array

How to Run a Java Application Without main()

Create one class similar to the following, add codes within the static block, and run the application. For example: public class A{ static void displayMe() { System.out.println(“I’m inside display Me