I am getting the above error on If arrFields is nothing or
arrFields.Count=0, I don't understand why I am getting the error:
dim arrFields as new ArrayList
arrFields = CType(ViewState("arrFields"), ArrayList)
--this is where I get the error:
If arrFields is nothing or arrFields.Count=0 then
Call GetFields
ViewState("arrFields") = arrFields
end if
End If
Does anyone know why I would be getting this error, when in fact the object
is set?