Data-centric UI Controls

 Rate It (5)

Both the GridView and ListView are new Data Controls in Visual Studio 2008.

Editing, Inserting, and Deleting Data

Paging and Sorting

Displaying Data with the DataList and Repeater

Filtering Scenarios with the DataList and Repeater

Editing and Deleting Data Through the DataList

Paging and Sorting with the DataList and Repeater

Enjoy!

Revision number 1, Monday, February 04, 2008 8:00:00 AM by

Comments

In This Section

CheckBoxList

The CheckBoxList control creates a multiselection checkbox group that can be dynamically generated using databinding. To specify items that you want to appear in the CheckBoxList control, place a ListItem element for each entry between the opening and closing

ListBox

The ListBox control is used to create a list control that allows single or multiple item selection. Use the Rows property to specify the height of the control. By default, the ListBox only allows a single selection to be made at a time.To enable the selection

Dynamically create hyperlinks For English Characters from A-Z

This is how to Dynamicly build the a links of characters from A-Z , somthing like this A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z You may need to filter a GridView results , like displaying the list

Displaying the files for a specific folder and allow the user to download them.

This is how to to list the files in a specific directory and allow the user to download the files. ASPX: asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="2" ForeColor="#333333"

Comparing ListView with GridView,DataList and Repeater

The ListView control is a new data presentation control that was added to .Net 3.5 , you may wonder why its added to the framework , and what it provide . The ListView control was added to provide The following functionalities : A very flexible and customizable

DropDownList

The DropDownList Web server control enables users to select from a single-selection drop-down list box. The DropDownList control is similar to the ListBox Web server control. It differs in that it shows only the selected item in a box.To specify the items

GridView

The GridView control was introducedwith ASP.NET 2.0 and Visual Studio 2005 as a replacement for the DataGrid control. While it has many similarities to the original DataGrid controlthe GridView is a more feature rich control. A variety of resources are linked

ListView

Some people think that the ListVew is a better Repeater and is one the best new additions to Visual Studio 2008. Blogs/Articles Using the ListView Control in ASP.NET 3.5: Mustafa Basgun has also written some great articles that drill into the new ListView

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. mbanavige (5)
  2. SGWellens (4)
  3. maartenba (2)
  4. rami_nassar (2)
  5. stiansol (2)
  6. MisterFantastic (2)
  7. satish1.v (1)
  8. raklos (1)
  9. mosessaur (1)
  10. Jos Branders (1)

Advertise Here

Microsoft Communities
Page view counter