'### Check ALL -- ASP.NET น่ะครับ
For Each row As GridViewRow In GridView1.Rows
Dim cb As CheckBox = row.FindControl("CheckBox1") ''-- CheckBox1 ชื่อ column
cb.Checked = checkState
Dim lbldeleteID As Label = DirectCast(GridView1.Rows(row.RowIndex).FindControl("lblitem"), Label)
Response.Write(lbldeleteID.Text)
Next
'### ตรวจสอบการเลือก CheckBox บางส่วน
'For Each row As GridViewRow In GridView1.Rows
' SelectRow = DirectCast(row.FindControl("CheckBox1"), CheckBox).Checked
'Next