Need help with retrieving objects from collection arraylist
Can anyone give me any advice on the following.
Am trying to create code that shows the correct set of details when the Id number is entered. When I access the collectioon arrayList (REGList), the same set of details are always displayed. I cant seem to display the details in the collection arraylist for the relevant Id number. I tried using a foreach loop but this still doesnt work. The click event handler code am using is show below.
Re: Need help with retrieving objects from collection arraylist
Inside the foreach loop you have declared a variable and for each loop that is declared and assigned the same value and so it shows the same data always.
|All times are GMT +5.5. The time now is 05:25.|