hi,
i have set pagination in datagrid. It contains some checkboxes. I want to find out the checkbox that has been checked. For this i use:
For Each di In DataGrid1.Items
'cb = di.FindControl("cb")
cb = CType(di.FindControl("chk"), CheckBox)
Now i have a question, does this for loop check ALL the records or only those records that are displayed in that particular page???
e.g:
Total - 100 records
Displayed - 10 records.
The for loop will now check through 10 records or 100 records???
Known is handfull, Unknown is worldfull
i have set pagination in datagrid. It contains some checkboxes. I want to find out the checkbox that has been checked. For this i use:
For Each di In DataGrid1.Items
'cb = di.FindControl("cb")
cb = CType(di.FindControl("chk"), CheckBox)
Now i have a question, does this for loop check ALL the records or only those records that are displayed in that particular page???
e.g:
Total - 100 records
Displayed - 10 records.
The for loop will now check through 10 records or 100 records???
Known is handfull, Unknown is worldfull