Databinding to Array of objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All:
I have array of objects that binds to a list box control on win form. My
problem is I do not want to display every object in the array on the list
box. Is there an event or function occurs in the data-binding object, which
allows me to control actual items that display on the screen.

Thanks in advance
DK
 
Hi,

Have you tried binding to a copy of the Array after removing the items that
you don't want?
 
Hi,

It seems like a good solution to me. A better solution might be to only fill
the Array with data that you want in the first place.
 
Back
Top