Repeater PagedDataSource and Typed Datasets

  • Thread starter Fresh Air Rider
  • Start date
F

Fresh Air Rider

Could anyone please provide a code snippet demonstrating how to use
the Repeater control in conjunction with the PagedDataSource class and
a Strongly Typed Dataset ?

I get an error informing me that my datasource does not implement
ICollection.

All examples of using the PagedDataSource class with the Repeater seem
use untyped datasets.

I had a reply to a previous posting from someone called "Cor" saying
that this definitely possible but not explaining exactly how.

I was unable to reply to that message as Google Groups seems to have a
habit at the moment of not being able to retrieve message IDs. Hence
the new poting.

References to Typed datasets are obviously more compact than those for
Untyped datasets

i.e.

string s = dsCustomersOrders1.Customers[0].CustomerID;

instead of

string s = (string) dsCustomersOrders1.Tables["Customers"].Rows[0]["CustomerID"];

If anyone could explain this to me, I would be very greatful

Thanks in advance
 
F

Fresh Air Rider

Hi Folks

Has anyone got any ideas for this question or is it really impossible ?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top