Giftsana

Giftsana

  • NA
  • 14
  • 0

user control question in c#

Feb 2 2006 9:22 PM
I have a user control and a form. i allocate an arraylist in the usercontrol.
i try to access the contents of the arraylist from the form in c#. But the arraylist count shows 0 in the form.

the arraylist class is declared in a library which i use in the user control to allocate.
the user control is placed in a formwizard, there is a button in the formwizard, on clicking this button we invoke the form which is trying to access the usercontrol arraylist. 

Please suggest how can i access the contents of the arraylist from the form.
Awaiting a reply.

Sincerely
G