
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.
This recursive function retrieves a hierarchical tree structure from a table with just four columns that describe each node in the tree: Level (the depth of the node in the
Often, in financial applications, the quarter end date is very important for financial calculations. The following function gets the end date of a Financial Quarter that is relative to the
Suppose jarFile is the jar/zip file to be extracted. destDir is the path where it will be extracted: java.util.jar.JarFile jar = new java.util.jar.JarFile(jarFile);java.util.Enumeration enum = jar.entries();while (enum.hasMoreElements()) { java.util.jar.JarEntry file
n my last article, “Extending Eclipse with Helpful Views,” I explained how easy it was to create new functionality in Eclipse. This article continues in the same vein by also
he sun is shining and I am sitting at a large, umbrella-covered picnic table overlooking a shimmering pond, my state right now is pretty relaxed. I have been fortunate enough
pplication metrics, such as performance metrics, are key to understanding and improving application efficiency. Profiling and monitoring tools yield valuable information on CPU and resource usage, including OS and network
ave you ever found it tedious to mix SQL and other languages, or been reluctant to write the same four lines of code again to do a simple database query?
ne of the many improvements of .NET’s GDI+ over its Win32-based predecessor is its high-level image processing API. It’s a doddle for Web servers running ASP.NET to stream JPEG data
tried to come up with a clever analogy to start off this column, but to be honest, I couldn’t think of anything appropriate. So I’m just going to come out
t hardly seems that I’ve finished writing about Microsoft’s PDC (Professional Developer’s Conference), and we’re back in action with Tech-Ed 2004, in lovely San Diego. The conference was typical Microsoft
know what’s going on here. See, now you’ve read a couple of these columns and you still haven’t listened to the show. But you’re hooked, right? Well, don’t come to
any developers have a dream: easy and efficient data binding. To be really quick and profitable, RAD (rapid application development) tools and techniques must be strong in data binding. They
inding what you need in the Microsoft? Visual Studio .NET documentation, which has over 45,000 topics, can be a daunting task. The Doc Detective is here to help, utilizing his
ast June, Qualcomm took the wraps off one of the most significant changes to Qualcomm Brew in over two years: the Brew UI Toolkit, an entirely new paradigm for Brew
o learn how to do something well, following in the footsteps of those that have successfully done it before can be a useful practice. Think of the age old master/apprentice
he IT industry is synonymous with change. Every day sees some new software version or specification released, which necessitates constant upgrades. Programming professionals often must upgrade business applications to the
For beginning C++ programmers, operator overloading may seem like a complicated task, but in fact, it’s really simple. You can overload operators in two ways: On non-member functions. On member
everal years ago, Bill Watterson wrote a Calvin and Hobbes comic strip where Calvin asked: “How do they know the load limit on bridges, Dad?” and his father answers: “They
inding data to user interface widgets is only part of the story in complex applications. Many analysis and design methods result in objects that contain both data and behaviour. DataSet
This code snippet demonstrates how to use Oracle’s VARRAY through JDBC. The code: Creates VARRAYs of different lengths. Contains a table to store data of above array type. Stores the
his article will show you how to use Microsoft SQL Server’s Reporting Services Web service to install your reports and execute them from a smart client application. If you use
s more and more information fills our lives and clutters our inboxes, our ability to effectively read, filter, and process this information manually declines hand-in-hand. There is only so much
was always taught to leave a place cleaner than when I got there, and I hold my applications to the same standard. However, a recent Java project I worked on
ne of the fundamental data structures in computer science is the queue. You will recall that a queue is a data structure in which elements are removed in the same
he upcoming .NET framework version 2.0 has new features galore, one of which is the new ToolStrip control. The ToolStrip aims to unify and replace existing toolbars, menus, and status
Suppose you need to send a URL to a server, which then returns some content (the content can be HTML, XML, etc.). Using the .NET Framework’s WebClient method, you can
When you’re carrying out an database-intensive operations, like trying to insert a lot of records in one transaction or opening a bunch of connections at the same time, you run
This C# function creates and retrieves a named DataSet using an open connection and a command. public System.Data.DataSet dsReturnedDataSetFrom(System.Data.SqlClient.SqlConnectionsqlOpenConn, System.Data.SqlClient.SqlCommand TheSQLCommand, string TheQueriedTable, stringTheDatasetName){TheSQLCommand.Connection = sqlOpenConn;System.Data.SqlClient.SqlDataAdapter NewDA = new System.Data.SqlClient.SqlDataAdapter(TheSQLCommand);DataSet
When you’re learning about data structures, you’ll come across a very useful class called vector. It’s basically an array, but it stores its elements dynamically. That means that it can
In larger applications, a particular point of code can be achieved by multiple paths. This makes debugging that much more difficult. One alternative is to put debug statements in all











