Determining Whether a Site Is Running or a URL Is Valid
The HttpWebRequest object makes it easy to check whether a web site is available or a URL is valid. Its HttpStatusCode property returns the status code from the request, which
The HttpWebRequest object makes it easy to check whether a web site is available or a URL is valid. Its HttpStatusCode property returns the status code from the request, which
In some cases, the JavaScript triple equals sign operator can simplify variable type and value checking. The operator tests both type and value for equivalency. Here’s a simple example HTML
Visual Studio makes it simple to add an installer class to your Windows service. Here are the steps: Open the “Solution Explorer” (press Ctrl-Alt-L, or go to the “View” menu
The BackgroundWorker class in the System.ComponentModel namespace (in the .NET Framework 2.0 and later) lets you launch time-consuming operations on a separate thread, which helps keep your user interface (UI)
When you need to bind a Hashtable to a DropDownList control, rather than iterating through all the items in the Hashtable, creating ListItem objects, and adding them to the Items
Often, when you need to get the maximum or minimum value for a specific column, you are also interested in getting more data about those particular rows, so you end
Merging typed DataSets can cause a “Merge Constraint” error, which explains the problem, but doesn’t help much in solving it. Here’s how to find the exact cause of the error:
Let SQL Server tell you which queries take the longest to run. The following query returns the five longest-running queries. You can change the TOP 5 to whatever number best
If you need a progress bar in your VB6 application, but don’t want to add the reference to Microsoft Windows Common Controls, here’s a simple way to create a progress