Selecting all control of a specific type, the (built-in) Linq way(bloggingabout.net)
submitted by
RickvdBosch(45) 4 years, 1 month ago
We probably all worked with dynamically generated controls on forms, ASP.NET pages or (user) controls. And I guess we've all written for-each statements to loop through the ControlCollection and filter out all the controls of a specific type, right? I wanted to do the same today, so I started by trying to use LINQ for this...
|category: Linq
|Views: 8
tags:
LINQ another
Everyones tags:
Your Tags: