How to realize the full selection function when deleting records in batch in .net development
This article mainly explains "how to realize the function of selecting all when deleting records in batches in. net development". The explanation in this article is simple and clear, easy to learn and understand. Please follow the idea of Xiaobian to study and learn together "how to realize the function of selecting all when deleting records in batches in. net development"!
1 . JS Implementation Select All
Drag a GridView onto the page, set up the data source, and add a template column to the GridView, add a chekcbox to the template column, such as the following code
The copy code is as follows:
//Next add a checkbox control to the page