0
Answer

user control question in c#

Giftsana

Giftsana

18y
1.7k
1
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