Iterating through Page Control Collection using Linq
Linq is used generally to get and
manipulate data by using Linq to Sql, Linq to Entities or Linq to Xml.
However, it can work on many collections in .NET Framework. Now in this
post, I'll show how to work on Page Control Collection with
Linq. Think about the scenario you want to get every textboxes that has
a text in it. To see which ones we select add them a text you want.
Create a new .aspx page and add several
textboxes to it. They can be directly in page or another control (i.e.
a panel control). Then add the code below to
[Further]