The Latest

DevX

Use the CASE Statement in a SQL SELECT Clause

SQL Server provides a mechanism for returning different values in a SELECT clause based on Boolean conditions: the CASE statement. This statement resembles Visual Basics Select Case statement. The SQL

DevX

Book Excerpt: JavaScript & DHTML Cookbook

he JavaScript & DHTML Cookbook is all about adding value to the content of a Web page. The book focuses on practical and sensible applications of scripting, rather than flying

DevX

Review: ASP.NET Web Matrix

eb Matrix is a freeware tool that has been created with the help of some ASP community leaders. Despite its shortcomings, Active Server Pages (ASP) is one of the most

DevX

A Not-So-Quick Tour of the Web DataGrid Control

ata-bound controls play a key role in the development of ASP.NET applications. Data-driven controls allow you to associate their whole interface, or individual properties, with one or more columns of

DevX

Store XML in C++ Source Code

XMLwhen it is in ASCIIcan be stored as any other literal in one line, but it’s not very readable. Use the following macros to store XML (or any other string

DevX

Introduction to JavaScript and DHTML

avaScript is a powerful yet often underused feature of most browser-based applications. Commonly, JavaScript is relegated to simple form validations, but this is not the only capability of JavaScript. In

DevX

We Are Our Environment

n case you haven’t noticed, programmers are sort of funny people to work with. I was talking with a friend the other day and he said that some of the

DevX

A Better Way to Stop an IP Address From Accessing Your Site

A more elegant approach: use an associative array. If you have more addresses to block, put them together (in this example, using CGI and Perl): #!perlmy %block_ip=(‘172.56.260.71’=>’bad.org’,’172.56.260.72’=>’evil.org’,);my $remote = $ENV{REMOTE_ADDR}

DevX

The Two Faces of .NET

he .NET platform has a new and fresh feel to it. Prior to .NET we had reached a point of technology and tools mish-mash that has been almost prohibitive to

DevX

Getting Started with ASP.NET

efore we can dive in and begin building Web pages with ASP.NET, I want to introduce a few topics and new terminology. .NET FrameworkMicrosoft designed classes in the .NET Framework

DevX

What’s New in Visual Studio .NET 1.1?

his article assumes you are familiar with Visual Studio .NET 1.0 and it presents only the new features of the IDE (Integrated Development Environment) of Visual Studio .NET 1.1, for

DevX

Five Practical XQuery Applications

hat’s the latest sleeper technology that promises to make your life easier? It’s XQuery (short for XML Query) and it’s the ‘Ginsu knife’ of XML standards. XML can represent almost

DevX

XML Web Services: Just Another Data Tier?

ost developers are now quite comfortable developing XML Web services. Visual Studio has a project template to create a new Web service project, but you don’t need to create a

DevX

ClearIEHistory – Clearing the Internet Explorer’s history

‘ Clear the IE’s HistorySub ClearIEHistory() Dim keyName As String = “SoftwareMicrosoftInternet ExplorerTypedURLs” ‘ delete the key that contains the URLs the history Microsoft.Win32.Registry.CurrentUser.DeleteSubKey(keyName, False) ‘ recreate the key, empty

DevX

ClearRunHistory – Clearing the Run history

‘ Clear the Run History’ The MRU list is kept available until Explorer is restartedSub ClearRunHistory() Dim keyName As String = “SoftwareMicrosoftWindowsCurrentVersionExplorer” _ & “RunMRU” ‘ delete the key that

DevX

Are You Missing Out on Code Generation?

hy do people use computers? We use computers because they make us more productive. Using a word processor is more efficient than writing a manuscript in pencil. An electronic spreadsheet