Avatar of swgdesign
Flag 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 undefined
Last Comment

8/22/2022 - Mon
Bob Learned

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

Creating a Pager Control for ASP.NET

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.

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..

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Bob Learned

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. :(

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

According to Microsoft this is not possible.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.