I know in VBA how to do a Select..Case comparison for a controls Type, as such:\[code\]Select Case TypeName(ctrl) case is = "ListBox" ... case is = "ComboBox" ... ...End Select\[/code\]In VB.Net, can i use the general value, as above, or will i have to have a Namespace qualifier in the text?Currently implementation:\[code\]public function Validate(byref ctrl as WebControl) as boolean select case TypeName(ctrl) case is = "TextBox" .... case is = "Label" .... ... End selectEnd Function\[/code\]