[ASP. NET] differences between data-bound controls

Source: Internet
Author: User

Widget

Main data structure

Function

Description and basic usage in yen

Gridview Table Read and edit

Each column displays a field

Each segment has its own table unit on duty

Show multiple records in the table

Edit Existing records

Datalist Table or tree Read and edit

Display all fields in a unit

A unit is equal to a record.

Display multiple records in a table

Create a new record for the gridview

Repeater Table or tree Read-Only

Display all fields in a unit

A unit is equal to a record.

Display multiple records in a table

Create a new record for the GridView

Detailsview Table or tree Read, edit, and create

Show single record

Provide default Structure

Edit Existing records

Create a new record

Fromview Table or tree Read, edit, and create

Show single record

Default structure not provided

Edit Existing records

Create a new record

Dropdownlist and ListBox Table or tree Read-Only

List Fields

Waiting for user selection

Display Data for user selection

Sitemappath Tree Read-Only

Display the name of the page between the main page and the current page

Used to determine the current location in the site

Menu Tree Read-Only

Displays top-level nodes. You can expand a layer of subnodes each time.

Used to display the menu, with a selection

Treeview Tree Read-Only

Display top layer node, which can expand one or more sub-nodes

Used to display multiple sub-nodes at the same time

       

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.