Implementing CheckBoxes in GridView

Phần miêu tả

This article provides details on how to include CheckBoxes in GridView control so that a user can select/deselect particular row(s) from the GridView. This would enable the user to perform actions like deleting/changing status etc. of the selected rows in one go.


Phần mở rộng

Introduction

This article provides details on how to include CheckBoxes in GridView control so that a user can select/deselect particular row(s) from the GridView. This would enable the user to perform actions like deleting/changing status etc. of the selected rows in one go.

Background

There are a few web sites that describe how to include checkboxes in GridView, and quite a few describe how to perform (multiple) selection of the rows from the gridview so that the rows (based on a primary value) can be identified and any further processing performed. This article tries to consolidate the whole process of including and using checkboxes in GridView control to delete selected rows from the database. As a bonus, the code also provides details on displaying images in GridView.

->Read More...

0 Comments:

Đăng nhận xét