Showing posts from August, 2008
You can see the code that uses the static GeTDrives method of the DriveInfo class to get a list of all installed drives, then iterates through them. For each fixed, formatted, and available (ready) drive, the code creates a new…
Another feature that is often ignored with user controls, but that can be handy, is the template. Templates are often associated with server controls and are an important part of both the DataList and the Repeater controls. How…
< %@ Page Language = " C# " AutoEventWireup = " true " CodeFile = " VerticalData.aspx.cs " Inherits = " VerticalData " % > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1…
[ ] Let’s create a simple Web page to demonstrate the RegisterArrayDeclaration method. This page provides a slide show where the client-side JavaScript changes the image. In this example, we will search a specified folder on th…
The ASP.NET DataList control is a server-side control that used to display tabular data. It presents data from the data source. The data source can be either a DataTable or a table from the database. In this article, I will…