Tip Bank

DevX - Software Development Resource

How Do I Know When the “Handshake” Is Over?

The following code is a JSSE client application that uses the HandshakeCompletedListener interface to find out when a handshake is over. import java.net.*;import java.io.*;import javax.net.*;import javax.net.ssl.*;class contact_server implements HandshakeCompletedListener{Socket SSLsoclu=null;

DevX - Software Development Resource

How to Display ASP.NET DataGrid Data in Excel

Suppose you have a DataGrid with several columns full of data. The DataGrid contains several pages. You can disable paging and export all the data to Excel using the RenderControl

DevX - Software Development Resource

Display Table Information

This script displays all your table names&#151along with their column names, data types, data lengths, and null/not null information in a database. SELECT Sysobjects.name AS TABLE_NAME, syscolumns.Id, syscolumns.name AS COLUMN_NAME,systypes.name

DevX - Software Development Resource

The Purpose of the GO Statement

Although GO is not a T-SQL statement, it is often used in T-SQL code and unless you know what it is it can be a mystery. So what is its

DevX - Software Development Resource

Implementing a Proxy Selector in the Tiger Release of Tiger

Use this code to implement a proxy selector class in the Tiger release of Tiger: import java.net.*;import java.util.*;import java.io.*;public class MyProxySelector extends ProxySelector{ //implement the select method public List select(URI