Hi,
 
Is there anyway I can convert a RepeaterItemCollection to a generic 
List<RepeaterItem> in one line of code, I have tried the following:
 
List<RepeaterItem> items = new 
List<RepeaterItem>((IEnumerable<RepeaterItem>)_reservesRepeater.Items);
 
Which just does not compile for obvious reasons, also as a side note, has 
everyone come across predicates in .NET 2.0:
 
http://blogs.msdn.com/devdev/archive/2006/06/30/652802.aspx
 
This is very cool.
Paul
 
 
 
 
===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to