I have the following statement that I am using to see if a array holds any value or not and if it doesn't then I want to hide a panel, but right now this isn't working I ave tried both <= and >= and it doesn't work right. any suggestions would be great.
If dependents.length >= 0 then
strPanelName = "depend"
pnlPanel = FindControl( strPanelName )
pnlPanel.Visible = False
End If
If dependents.length >= 0 then
strPanelName = "depend"
pnlPanel = FindControl( strPanelName )
pnlPanel.Visible = False
End If