Using the TreeView Control and a DataList to Create an Online Image Gallery 30 Aug 2006 00:00 GMT
Introduction
ASP.NET version 2.0 includes a wide array of Web controls not found in
previous versions. One such control is the TreeView, which is ideal for displaying hierarchical data. The TreeView control
can be bound to a hierarchical data source such as the XmlDataSource or SiteMapDataSource, or can be constructed programmatically.
(For an example of using the TreeView to display a site map using the SiteMapDataSource, check out the
Examining ASP.NET 2.0's Site Navigation article
series.)
One common source of hierarchical data is the web server's file system. In many scenarios, there may be a folder that contains
subfolders and files that the user needs to be able to browse. Using the classes in the System.IO namespace,
we can programmatically populate the TreeView with the directory structure of our website. Then, when the user clicks a folder,
the selected folder's files can be displayed.
In this article we will examine how to create a simple image gallery web page that's a breeze to maintain. The image gallery
lacks the bells and whistles found in more complex and feature-rich image galleries, but this one is a cinch to deploy and
maintain. We'll be using two Web controls: a TreeView to list the folders and subfolders in which the images reside; and
a DataList control that lists each image in the selected folder. Read on to learn more!
This is one of many image-related articles here on 4Guys. Others include: A Robust Image Gallery
for ASP.NET; Displaying a List of Scaled Images;
and True Image Resizing...
Read More >
Source: 4GuysFromRolla Monitor .NET Code Quality with FxCop and Custom Rules 25 Aug 2006 22:25 GMTYou no longer have to rely solely on experience and code reviews to find code problems; FxCop can find many problems for you. It even lets you create and enforce custom rules that apply specifically to your organization's code.
Source: DevX Introduction to the New Windows SDK 25 Aug 2006 02:34 GMTMelinda Jackson describes the combining of the Platform SDK, .NET Framework SDK, and WinFX SDKs, into the new Windows SDK. She also details the latest features that have been included and describes future enhancements.
Source: MSDN Turning RFID Data into Information 24 Aug 2006 23:48 GMTUnderstanding the tasks and challenges in converting raw RFID data into valuable actionable information is the first step in choosing a solution that provides the flexibility to get your RFID system off on the right foot.
Source: DevX