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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Paging

Status
Not open for further replies.

barrykellett

Programmer
Mar 4, 2003
29
GB
Is there a way I can page a massive amount of items in a checkboxlist? Its a list of email addresses and its currently about 100 items long!

I want to be able to select items in the check box list and then page to the following pages of checkboxes and choose more addresses.

Thanks :)
 
Does anyone have a simple example where a checkbox is displayed in each row of a datagrid and how do i access it so i can retrieve the rows data
 
Thanks Adamroof, I have used this code sample but the data grid will not allow me to page. Says the datasource (I used a data reader) will not allow ICollection :(

Anyone help?
 
Well you'll need to set the session state with a datatable on the onclick of the checkbox or even on page event, before paging, say for each checked box add that record to the session table, then page, then select more, then perform your action on the datatable instead of the underlying queried datagrid. Ive seen it before and ill look around. its something like CType(SessionState("MyNewTable"), DataTable)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top