By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,661 Members | 1,917 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,661 IT Pros & Developers. It's quick & easy.

Repeater, PagedDataSource and Typed Datasets

P: n/a
Hi Fellow Dotnetters

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
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello

Does anyone have any ideas on how this can be achieved please ?

Thanks
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.