ASP.Net / C#, Loop through certain controls on a page?

I am currently looping through all the controls on my page and setting certain types (TextBox, CheckBox, DropDownList, etc.) to Enabled=False under certain conditions.
However I notice an obvious page load increase looping like this. Is it possible to only get certain types of controls from the Page.Controls object rather than Loop through them all? Possibly with something like LINQ?

How to make various list using random.sample()?

in this list AIB13seoul= ['김예나','김혜관','노주연','박진수','박희선','양건희','양세비', '이예지','전형준','정승기','sangwon','이지현','김강호','김슬기', '김용석','김재성','방준원','한유성','한현구','강병우'] I want to make 3 other random lists called a, b, and c without duplicates, using loop. I’m not used to utilizing loops, so this is how I tried originally: import random a = random.sample(AIB13seoul, 7) list(a) removed=list(set(AIB13seoul) – set(a)) b = random.sample(removed, 7) removed1=list(set(removed) – set(b)) c … Read more