B
bz
Hi,
I create a class that retrieves a number of records from database.
Internally, the class store the returned data in a datatable /
datareader. I would like to bind a listbox to that class (to the
records from this datatable), using data binding wizard and to be able
to select bind to object
How should I make this class to be able to accomplish this? Do I have
to define it to implement some interface? Which one? I want to bind
DisplayMember to a certain field from the datatable
Thank you
I create a class that retrieves a number of records from database.
Internally, the class store the returned data in a datatable /
datareader. I would like to bind a listbox to that class (to the
records from this datatable), using data binding wizard and to be able
to select bind to object
How should I make this class to be able to accomplish this? Do I have
to define it to implement some interface? Which one? I want to bind
DisplayMember to a certain field from the datatable
Thank you