Data Grid Analysis of ASP. NET Web controls

Source: Internet
Author: User

What is the data grid of ASP. NET Web controls?

Dreamweaver data grid allows you to insert a Data Grid webpage control of ASP. NET Web control. The data grid control presents the table as a multi-column grid and can contain different column types of heterogeneous columns used to define the cell content layout ). This includes binding, buttons, and template columns. In addition, data grid also supports interactive functions, such as column sorting, column editing, and column commands. The following table shows the available column types in the Data Grid:

What types of ASP. NET Web controls are available for data mesh? The classification and description are as follows:

Simple data domain of ASP. NET Web Control Data Grid

"Simple data fields" are listed in ASP. NET is called "binding column", which allows you to specify the data source domain to be displayed, and this domain is used.. NET format expression.

Free format of ASP. NET Web Control Data Grid

The "free format" column type is called "template column" in ASP. NET. It allows you to create a combination of HTML text and server controls to customize the layout of columns. The control in the free format column can be a data binding control. Free format columns provide you with more flexibility in defining the layout and functions of grid content. The reason is that you have full control over how data is displayed and what happens when users interact with rows in the grid.

Hyperlink to ASP. NET Web Control Data Grid

The "HYPERLINK" column displays the hyperlink information. It is typically used to display data in the form of hyperlink, such as the customer ID or product name). After you click hyperlink, you can navigate to a separate page, the above provides detailed information about the project.

Edit, update, and cancel buttons for ASP. NET Web controls

The "edit, update, and cancel button" column is called the "Edit command" column in ASP. NET. It allows you to edit the information in the Data Grid row in place. To do this, you must create the "edit, update, and cancel" column. During running, this column displays a button marked as "edit. When you click the "edit" button, the row data is displayed in the Editable controls such as the text box, and the "edit" button is replaced with the "Update" button and "cancel" button.

Delete button of ASP. NET Web Control Data Grid

The delete button allows you to click the button to delete a Specific Row.

Before using the "Data Grid" server behavior, you must define a dataset for the data grid. Other document types are called "record set "). For more information, see Understanding record sets.

For more information about the DataGrid Control and how to use it to set the format of dynamic data, visit the MicrosoftWeb site http://msdn.microsoft.com/library/en-us/cpgenref/html/cpcondatagridwebservercontrol.asp.

The following is a brief introduction to the data grid of ASP. NET Web controls. It is helpful to understand the data grid of ASP. NET Web controls.

  1. Development of ASP. NET data binding controls
  2. Analysis of ASP. NET control design support
  3. Usage of ASP. NET2.0 data source controls
  4. Analysis on automatic format settings supported during ASP. NET Control Design
  5. Analysis on the operation list and template editing during ASP. NET Control Design

Related Article

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.