i have:
if gvr.FindControl(objPosNeg1).GetType.ToString =
"System.Web.UI.WebControls.label" then
....
....
....
end if
where gvr is a gridviewrow, objPosNeg is an object and in this case the
object is a label. On other occations it will be a hyperlink.
I'd like to do a direct type compairison, but can't find the way to do it.
Is there a way to do:
IF obj.typeof = (or is) ...WebControls.label THEN
....
....
....
ELSE IF
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes