hi!
i have the following code:
for each control ni controls
dim tb as lable
if typeof ctl is lable then
tb = ctype(ctl,Lable)
tb.text = string.empty
end if
next
but in .net 2005, i can't write typeof . is there another syntax for it?
clearing all the lables on a form in vb.net 2005
|