Link to home
Start Free TrialLog in
Avatar of swgdesign
swgdesignFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Paging Repeater binded using a tableadapter from a strongly typed dataset

What I would like to know is, is it possible to page an ASP:Repeater that is generated using a table adapter derived form a typed Dataset? The code I have errors asking for the data to be delivered as either a dataset or datalist etc in other words a member of iCollection, not a datatable.

If so, can someone show me the code or how to do it as I would rather not ditch a weeks worth of work building my dataset.

Many Thanks
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

There are possibilities (though I haven't ever used them personally).

Creating a Pager Control for ASP.NET
http://msdn.microsoft.com/en-us/library/ms972960.aspx
You can bind a datatable to a repeater. Not sure why is it throwing an error. I am not familiar with tableadapter.

1: Check this
2: Check this out on different ways to bind datatable to a DataBoundControl.
Avatar of swgdesign

ASKER

I can bind the repeater perfectly fine, if you read what I asked ;

can you PAGE as in add 'paging' to a repeater generated using a tableadapter created from a strongly typed dataset..

Thanks
Simon
Did you read the article that talked about a pager control for non-paging controls?
Yeah I skipped through it and it results in the same issue when using a datatable derived from a strongly typed dataset. :(
ASKER CERTIFIED SOLUTION
Avatar of swgdesign
swgdesign
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
According to Microsoft this is not possible.