Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pagination in DataGrid 1

Status
Not open for further replies.

vbkris

Programmer
Jan 20, 2003
5,994
IN
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
 
hi,

that post couldnt help me either. Anyway i really appreciate your help...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top