Question How compare a control is TextBox using If?

asifvkd

New member
Joined
Feb 8, 2009
Messages
2
Programming Experience
Beginner
Help me to convert C# code If (_editControl Is TextBox) -to vb.net?
where Dim _editControl As Control

Getting error " TextBox is a Type and cant be used as an expression" for the vb.net statement
if _editControl Is TextBox Then

End If
 
Back
Top