Bulk fetching data in a DataGrid control template column
Source: Internet
Author: User
Datagrid|datagrid Controls | templates | Data bulk get data in the DataGrid control template column
In a DataGrid, you can usually only get data for each row individually, and to bulk get the data in the DataGrid control you must scan the controls for each template column to get the data.
I want to do the program is based on the number of different lines, the user input a number of data at a time, submitted after the system to automatically obtain batch data program.
The following program simply expresses the functionality that needs to be implemented
In fact, such programs have commonality, through the DataGrid control can batch processing of data, especially in the process of deleting data and other operations to use and convenient, as long as the program's template column in the TextBox control to the CheckBox control or DropDownList control , scanning all the child controls can realize the bulk of the data quickly delete, modify, and other operations.
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