weird listitem issue

  • Thread starter Thread starter Joe Van Meer
  • Start date Start date
J

Joe Van Meer

Hi All,

I have begun a small app (exe) that contains a listbox. When I go to
manipulate it in code, say a loop through all the listitems in the listbox
it says that my ListItem is not declared even though the form is inheritting
(Inherits System.Windows.Forms.Form) . I was under the impression that have
this I would have access to listitem type of object. Could I be missing
another reference? This never happens in my asp.net apps and was just
wondering what I might be missing.

Cheers, Joe
 
Joe Van Meer said:
I have begun a small app (exe) that contains a listbox. When I go to
manipulate it in code, say a loop through all the listitems in the listbox
it says that my ListItem is not declared even though the form is
inheritting
(Inherits System.Windows.Forms.Form) . I was under the impression that
have
this I would have access to listitem type of object.

'ListItem' is a class that is used with Web forms. Maybe you are referring
to 'ListViewItem'.
 
Back
Top