(Jay Miller) The Sort() method of the ArrayList class allows you to provide your own comparer. When you provide a comparison object, your Compare() method will be used to compare objects in the ArrayList when sorting. This flexibility allows you to sort by any means that you choose. This example wil
Tag: Development
Building Interactive User Interfaces with Microsoft ASP.NET AJAX: Providing Visual Feedback with the UpdateProgress Control
(Scott Mitchell) Microsoft’s ASP.NET AJAX Framework helps page developers design more interactive web pages by streamlining the postback mechanism. In traditional web pages, a full postback involves the browser re-requesting the page, which is then re-rendered. This re-rendered page markup is return
Building a .NET Console Application for Scheduled Tasks
(John Peterson) As is usually the case for me, the idea for this article came from a project on which I was recently working. Without going into all the gory the details, the basic requirement was that something needed to happen on a daily basis. This obviously wasn’t the first time I’d run into thi
Visualize data on a mobile device using Visual Studio
(Vladimir Gregor) This article is about displaying data in mobile applications built on .NET Compact Framework platform. It demonstrates several typical data structures and their visualization on a small display of a mobile device.
Event, sit! Event, staaaay…
(Robert Chipperfield) One of the great features in .NET is its event model. I came from a Java world before I started developing C#, and whilst they achieve the same effect using “listeners”, I think C# definitely does it more slickly. That’s not to say I wouldn’t like to be able to do anonymous inn
Programming with Generic Delegates in .NET
(Paul Kimmel) Sometimes I suspect that programmers learning their craft in the last five years got to skip a bunch of junk—like Dynamic Data Exchange (DDE), C, MAKE files, and assembler programming—and instead focus on the “good stuff.” But, in truth, programming is evolutionary: Learning that “junk
WPF Basics: Using Animation to Fade Colors In and Out
(Ged Mead) One of the great things about WPF is its ability to let you use animation to enhance your user interface. (Or wreck it if you go too far!) In my opinion, subtle animations can go a long way towards improving the user experience.
Managing Configuration Data Programmatically in ASP.NET 2.0
(SANJIT SIL) In ASP.NET 1.0 and 1.1 versions of the Framework provided API’s that enabled us to only read information from the configuration file. There is no way to write information into the configuration file. However, ASP.NET 2.0 includes a full configuration management API that enables us to na
Localizing Date and Time Display in ASP.NET
(Anthony Leuzzi) Date and time information is used in almost every application I write and depending on the business requirements, it may be displayed in one of the following formats; short date, long date, short date time, long date time, etc. This isn’t unique by any means, but the method used to
Implement Drag and Drop in Your Windows Forms Applications
(Wei-Meng Lee) In general, when a user drags and drops data from an external application onto your Windows application, you need to determine the structure of the data being passed in and devise the appropriate mechanism to use the data.
