![]() |
|
|||||||
| Web Grids Discussion related to any grid for ASP.NET |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi All,
may i know how do i find the value of the CheckBox template field in a gridview. The user would select the information they want and those un-checked would be deleted. When the button is pressed, the information on the next page would only show the selected records. Anyone has the VB coding for this? thanks - the template is called - CheckBox1 attached is the gridview screen shot. |
|
|||
|
Loop through the rows
Code:
For Each row as GridViewRow In GridView1.Rows Code:
Dim cbx As CheckBox = GridView1.FindControl("CheckBox1")
Code:
If cbx.Checked Then... |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|