devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Sorting SQL Results in Your Own Preferred Order

USE PubS– Sort Each of PubName in Natural Alphabetic Order but push A’s to thelastselect * from publishersOrder by (CASE left(Pub_name,1) WHEN ‘A’ THEN 1000 ELSE ASCII(pub_name)END)–Sort Publishers By City

International Test for Illegal Characters

Windows has the solution: the IsCharAlphaNumeric function, defined in User32.dll. This function uses the currently defined locale when performing comparisons, thereby allowing full use of accented characters. This sample demonstrates

Explicit Constructors

A constructor that takes a single argument is, by default, an implicit conversion operator, which converts its argument to an object of its class, the keyword “explicit” can be placed

The WordHelper class

WordHelper is a C# class that helps working with MS Word 2000 documents and simplifies the programmatic construction of a Word document. It has methods to launch a Word instance,

InputBox – A .NET replacement for this VB6 function

‘ Create an InputBox like the one of VB6. You can define the dialog’s title,’ question and default value.’ Example: MessageBox.Show(InputDialog.InputBox(“Type your name:”, “Test”,’ “Marco”))Public Class InputDialog Inherits System.Windows.Forms.Form#Region “

Don

Have you ever tried to change the BorderStyle, HideSelection, MultiLine, ScrollBars, WordWrap and TextAlign properties of a TextBox, or the ComboBox

Skipping columns when tabbing on a DataGrid

It happens quite often that you have a DataGrid with hidden columns (with width = 0), because you need their values but don’t want to show them to the user.

JavaScript: Playing the Numbers Game

f you’re a Web developer, you may well have written something like the following input tag, which accepts a number that a user types in. Unhappily, you’ve probably also experienced

Borland C#Builder Is a Capable Alternative to VS.NET

orland’s C#Builder is an Integrated Development Environment (IDE) that provides extensive support for building .NET applications. Despite its name, C#Builder doesn’t support only C#, it also supports VB.NET in its

Can’t Anyone Write Good SQL These Days?

hy are there so many Java database access protocols? There’s JDBC, JDO, EJB, POJO, AOP methods, etc. The list goes on and on. It makes me wonder: What is the

Persistent session state

In ASP.NET 1.0 you have the option to maintain the session state on an external process, in SQL Server, by setting the mode attribute of the sessionState tag in web.config

Referencing external config files from Web.Config

Anybody programming with ASP.NET knows that you can store custom application’s settings in the web.config file, under the section, and programmatically read the values through the ConfigurationSettings class. When the

Creating a scrollable DataGrid

When you create a DataGrid, it would be often good to specify its height, and have the DataGrid show a scrollbar if the content is longer than the given height.

Input validation in ASP.NET 1.1

ASP.NET 1.1 automatically validates input posted to the server against a list of potentially dangerous strings (the values are hard-coded, unfortunately, it would have been nice to be able to

Jazz Up Your JTables with Reusable Classes

ome time ago, I was faced with a tricky user interface problem: develop a suite of real-time Swing stock displays that flash and color themselves according to the data on

Enable Logical Object Representation in Your Database

he relational database management system (RDBMS) is based on the relational model, which is simply represented through the relations of rows and columns in two-dimensional tables. Meanwhile, the object-oriented DBMS